2017-11-11 19:14:21 +08:00
|
|
|
[Unit]
|
|
|
|
Description=Kubernetes Scheduler
|
|
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart={{ bin_dir }}/kube-scheduler \
|
2022-01-04 19:26:42 +08:00
|
|
|
--authentication-kubeconfig=/etc/kubernetes/kube-scheduler.kubeconfig \
|
|
|
|
--authorization-kubeconfig=/etc/kubernetes/kube-scheduler.kubeconfig \
|
|
|
|
--bind-address=0.0.0.0 \
|
|
|
|
--kubeconfig=/etc/kubernetes/kube-scheduler.kubeconfig \
|
|
|
|
--leader-elect=true \
|
2017-11-11 19:14:21 +08:00
|
|
|
--v=2
|
2019-07-19 13:47:10 +08:00
|
|
|
Restart=always
|
2017-11-11 19:14:21 +08:00
|
|
|
RestartSec=5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|