mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Custom role for control plane
This commit is contained in:
parent
44a7d1684f
commit
126143e7e1
18 changed files with 1445 additions and 5 deletions
|
|
@ -0,0 +1,15 @@
|
|||
#jinja2: trim_blocks:False
|
||||
[Unit]
|
||||
Description=Kubernetes Controller Manager
|
||||
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
||||
|
||||
[Service]
|
||||
ExecStart={{k8s_bin_dir}}/kube-controller-manager \
|
||||
{%- for setting in k8s_controller_manager_settings|sort %}
|
||||
--{{setting}}={{k8s_controller_manager_settings[setting]}} {% if not loop.last %}\{% endif %}
|
||||
{%- endfor %}
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue