Add homeserver to infra
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-24 21:36:07 +01:00
parent 9eaca5ae11
commit 5c9f96be8e
13 changed files with 171 additions and 86 deletions

View File

@@ -7,7 +7,7 @@ After=network-online.target
Type=notify
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['serverctl_master_hosts'][0]]['token'] }} {{ extra_agent_args | default("") }}
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['serverctl_master_hosts'][0]]['token'] }} {{ extra_agent_args | default("") }} --node-ip {{inventory_hostname}}
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead