This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
/
cluster-n3-v1.26.yaml
65 lines (61 loc) · 1.57 KB
/
cluster-n3-v1.26.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
56
57
58
59
60
61
62
63
64
65
# vim: ft=yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
kubeProxyMode: "ipvs"
podSubnet: "10.244.0.0/16"
serviceSubnet: "10.96.0.0/12"
nodes:
- role: control-plane
image: seanly/kind:node-v1.26.6
extraMounts:
- hostPath: ./manifests/kind-pvc-hostpath.yaml
containerPath: /kind/manifests/default-storage.yaml
- hostPath: /tmp/hostpath-provisioner
containerPath: /tmp/hostpath-provisioner
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "my-label3=true,ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
- role: worker
image: seanly/kind:node-v1.26.6
extraMounts:
- hostPath: /tmp/hostpath-provisioner
containerPath: /tmp/hostpath-provisioner
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "my-label2=true"
- role: worker
image: seanly/kind:node-v1.26.6
extraMounts:
- hostPath: /tmp/hostpath-provisioner
containerPath: /tmp/hostpath-provisioner
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "my-label2=true"
- role: worker
image: seanly/kind:node-v1.26.6
extraMounts:
- hostPath: /tmp/hostpath-provisioner
containerPath: /tmp/hostpath-provisioner
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "my-label2=true"