-
Notifications
You must be signed in to change notification settings - Fork 0
/
kind-config.yaml
46 lines (46 loc) · 1.48 KB
/
kind-config.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
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: localhost:5000/kindest/node:v1.30.0
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "beta.kubernetes.io/instance-type=highstorage,topology.kubernetes.io/zone=az1"
image: localhost:5000/kindest/node:v1.30.0
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "beta.kubernetes.io/instance-type=highstorage,topology.kubernetes.io/zone=az2"
image: localhost:5000/kindest/node:v1.30.0
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "beta.kubernetes.io/instance-type=highio,topology.kubernetes.io/zone=az1"
image: localhost:5000/kindest/node:v1.30.0
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "beta.kubernetes.io/instance-type=highio,topology.kubernetes.io/zone=az2"
image: localhost:5000/kindest/node:v1.30.0
- role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "beta.kubernetes.io/instance-type=highio,topology.kubernetes.io/zone=az1"
image: localhost:5000/kindest/node:v1.30.0