kubeasz/roles/kube-master/templates/kube-scheduler.service.j2

16 lines
357 B
Plaintext
Raw Normal View History

2017-11-11 19:14:21 +08:00
[Unit]
Description=Kubernetes Scheduler
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
[Service]
ExecStart={{ bin_dir }}/kube-scheduler \
2021-01-10 21:25:05 +08:00
--bind-address={{ inventory_hostname }} \
2021-01-07 09:30:50 +08:00
--kubeconfig=/etc/kubernetes/kube-scheduler.kubeconfig \
2017-11-11 19:14:21 +08:00
--leader-elect=true \
--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