-
Notifications
You must be signed in to change notification settings - Fork 0
/
k3dcluster.yaml
55 lines (55 loc) · 1.08 KB
/
k3dcluster.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
name: vernal
servers: 3
agents: 5
kubeAPI:
host: k8s.local.lan.vernal.dev
hostIP: 0.0.0.0
hostPort: "6443"
image: rancher/k3s:v1.28.6-k3s1
network: vernal
token: k3s-vernal-not-for-production
volumes:
- volume: $PWD/storage/k3s/:/var/lib/rancher/k3s/storage/
nodeFilters:
- all
ports:
- port: 0.0.0.0:80:80
nodeFilters:
- loadbalancer
- port: 0.0.0.0:443:443
nodeFilters:
- loadbalancer
env: []
registries:
create:
name: vcr.local.lan.vernal.dev
host: 0.0.0.0
hostPort: "5555"
volumes:
- $PWD/storage/vcr/:/var/lib/registry/
hostAliases: []
options:
k3d:
wait: true
timeout: 300s
disableLoadbalancer: false
disableImageVolume: false
disableRollback: false
k3s:
extraArgs:
- arg: --disable=traefik
nodeFilters:
- server:*
- arg: --disable-helm-controller
nodeFilters:
- server:*
- arg: --tls-san=k8s.local.lan.vernal.dev
nodeFilters:
- server:*
nodeLabels: []
kubeconfig:
updateDefaultKubeconfig: true
switchCurrentContext: true