traefik/integration/resources/compose/k8s.yml
Ludovic Fernandez 336dd1d5ba
Update k3s.
2020-02-24 17:56:05 +01:00

21 lines
586 B
YAML

server:
image: rancher/k3s:v1.17.2-k3s1
command: server --disable-agent --no-deploy traefik --log /output/k3s.log
environment:
- K3S_CLUSTER_SECRET=somethingtotallyrandom
- K3S_KUBECONFIG_OUTPUT=/output/kubeconfig.yaml
- K3S_KUBECONFIG_MODE=666
volumes:
- ../../fixtures/k8s/config.skip:/output
- ../../fixtures/k8s:/var/lib/rancher/k3s/server/manifests
ports:
- 6443:6443
node:
image: rancher/k3s:v1.17.2-k3s1
privileged: true
links:
- server
environment:
- K3S_URL=https://server:6443
- K3S_CLUSTER_SECRET=somethingtotallyrandom