mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-11-12 10:04:05 +01:00
16 lines
395 B
Django/Jinja
16 lines
395 B
Django/Jinja
[Unit]
|
|
Description=Lightweight Kubernetes
|
|
Documentation=https://k3s.io
|
|
After=network-online.target
|
|
[Service]
|
|
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
|
|
KillMode=process
|
|
Delegate=yes
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
TasksMax=infinity
|
|
Restart=always
|
|
[Install]
|
|
WantedBy=multi-user.target
|