baseline/docker-compose.yml
Sebastian Mark 818b504fd5 break: switch from k3s to k0s (in docker)
- replace k3s with k0s
  - remove argocd-init.yml
  - remove pb_install.yml
  - add docker-compose.yml for k0s setup
  - add k0s-config.yaml for k0s configuration
  - add metallb loadbalancer
    - add metallb ip pool
  - add openebs local storage
- update README

🤖
2024-09-04 14:08:23 +02:00

19 lines
464 B
YAML

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-storage:/var/openebs/
- k0s-run:/run/
- ./k0s-config.yaml:/etc/k0s/config.yaml
volumes:
k0s-data:
k0s-storage:
k0s-run: