|
|
@ -10,7 +10,9 @@ ExecStartPre=-/sbin/modprobe overlay
|
|
|
|
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
|
|
|
|
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
|
|
|
|
KillMode=process
|
|
|
|
KillMode=process
|
|
|
|
Delegate=yes
|
|
|
|
Delegate=yes
|
|
|
|
LimitNOFILE=infinity
|
|
|
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
|
|
|
|
|
|
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
|
|
|
|
|
|
|
LimitNOFILE=1048576
|
|
|
|
LimitNPROC=infinity
|
|
|
|
LimitNPROC=infinity
|
|
|
|
LimitCORE=infinity
|
|
|
|
LimitCORE=infinity
|
|
|
|
TasksMax=infinity
|
|
|
|
TasksMax=infinity
|
|
|
|