mirror of https://github.com/easzlab/kubeasz.git
18 lines
487 B
Django/Jinja
18 lines
487 B
Django/Jinja
[Unit]
|
|
Description=Kubernetes Scheduler
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
|
|
[Service]
|
|
ExecStart={{ bin_dir }}/kube-scheduler \
|
|
--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 \
|
|
--v=2
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|