9 lines
305 B
Plaintext
9 lines
305 B
Plaintext
|
[Unit]
|
||
|
Description=k3s cluster
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Environment=K3S_TOKEN={{k3s_token}}
|
||
|
Environment=K3S_DATASTORE_ENDPOINT=http://node01:2379,http://node02:2379,http://node03:2379
|
||
|
Exec=/usr/local/sbin/k3s server --no-deploy traefik --bind-address {{wg_ip}} --advertise_address {{wg_ip}}
|