mirror of https://github.com/easzlab/kubeasz.git
16 lines
317 B
Django/Jinja
16 lines
317 B
Django/Jinja
[Unit]
|
|
Description=Kubernetes Scheduler
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
|
|
[Service]
|
|
ExecStart={{ bin_dir }}/kube-scheduler \
|
|
--address=127.0.0.1 \
|
|
--master=http://127.0.0.1:8080 \
|
|
--leader-elect=true \
|
|
--v=2
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|