-
Notifications
You must be signed in to change notification settings - Fork 149
/
k3d-calico.config.yaml.tpl
38 lines (38 loc) · 1.1 KB
/
k3d-calico.config.yaml.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: k3d.io/v1alpha5
kind: Simple
servers: 1
agents: 0
network: k3d
volumes:
- volume: ${HOME}/.docker/config.json:/var/lib/kubelet/config.json
- volume: services:/lagoon/services
- volume: node_packages:/lagoon/node-packages
- volume: ${PWD}/calico.yaml:/var/lib/rancher/k3s/server/manifests/calico.yaml
registries:
config: |
mirrors:
docker.io:
endpoint:
- "https://imagecache.amazeeio.cloud"
"registry.${LAGOON_K3D_NETWORK}.nip.io":
endpoint:
- https://registry.${LAGOON_K3D_NETWORK}.nip.io
configs:
"registry.${LAGOON_K3D_NETWORK}.nip.io":
tls:
insecure_skip_verify: true
options:
k3s: # options passed on to K3s itself
extraArgs: # additional arguments passed to the `k3s server|agent` command; same as `--k3s-arg`
- arg: --disable=traefik
nodeFilters:
- server:*
- arg: --disable=servicelb
nodeFilters:
- server:*
- arg: --flannel-backend=none
nodeFilters:
- server:*
- arg: --disable-network-policy
nodeFilters:
- server:*