2024-08-30 22:22:48 +00:00
|
|
|
services:
|
|
|
|
k0s:
|
|
|
|
image: docker.io/k0sproject/k0s:v1.30.4-k0s.0
|
|
|
|
command: k0s controller --config=/etc/k0s/config.yaml --enable-worker --no-taints
|
|
|
|
stop_grace_period: 15s
|
|
|
|
hostname: k8s.smsvc.net
|
|
|
|
privileged: true
|
|
|
|
cgroup: host
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
|
|
|
- k0s-data:/var/lib/k0s/
|
|
|
|
- k0s-run:/run/
|
2024-09-01 20:34:37 +00:00
|
|
|
- k0s-storage:/var/openebs/
|
|
|
|
- k0s-run-udev:/run/udev
|
2024-08-30 22:22:48 +00:00
|
|
|
- ./k0s-config.yaml:/etc/k0s/config.yaml
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
k0s-data:
|
|
|
|
k0s-run:
|
2024-09-01 20:34:37 +00:00
|
|
|
k0s-storage:
|
|
|
|
k0s-run-udev:
|