Custom role for control plane

This commit is contained in:
Paul-Henri Froidmont 2018-08-01 11:10:51 +02:00
parent 44a7d1684f
commit 126143e7e1
18 changed files with 1445 additions and 5 deletions

View file

@ -0,0 +1,15 @@
#jinja2: trim_blocks:False
[Unit]
Description=Kubernetes Scheduler
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
[Service]
ExecStart={{k8s_bin_dir}}/kube-scheduler \
{%- for setting in k8s_scheduler_settings|sort %}
--{{setting}}={{k8s_scheduler_settings[setting]}} {% if not loop.last %}\{% endif %}
{%- endfor %}
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target