feat(k0s): set restart policy to always
This commit is contained in:
parent
faa20d7f6e
commit
844c77e7a9
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ services:
|
||||||
k0s:
|
k0s:
|
||||||
image: docker.io/k0sproject/k0s:v1.30.4-k0s.0
|
image: docker.io/k0sproject/k0s:v1.30.4-k0s.0
|
||||||
command: k0s controller --config=/etc/k0s/config.yaml --enable-worker --no-taints
|
command: k0s controller --config=/etc/k0s/config.yaml --enable-worker --no-taints
|
||||||
|
restart: always
|
||||||
stop_grace_period: 15s
|
stop_grace_period: 15s
|
||||||
hostname: k8s.smsvc.net
|
hostname: k8s.smsvc.net
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
Loading…
Reference in a new issue