fab-city-software-kit/k3s-dev.yaml

32 lines
620 B
YAML

---
apiVersion: k3d.io/v1alpha4
kind: Simple
image: docker.io/rancher/k3s:v1.23.14-k3s1
servers: 1
agents: 2
ports:
- port: 80:80
nodeFilters:
- loadbalancer
- port: 443:443
nodeFilters:
- loadbalancer
- port: 6443:6443
nodeFilters:
- loadbalancer
options:
kubeconfig:
updateDefaultKubeconfig: true
switchCurrentContext: true
k3s:
extraArgs:
- arg: --no-deploy=traefik
nodeFilters:
- server:*
- arg: --snapshotter=native
nodeFilters:
- server:*
- arg: --snapshotter=native
nodeFilters:
- agent:*