forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kind.yaml
32 lines (31 loc) · 802 Bytes
/
kind.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
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
- role: worker
- role: worker
kubeadmConfigPatches:
- |
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
"feature-gates": "EndpointSlice=true,ServiceTopology=true"
scheduler:
extraArgs:
"feature-gates": "EndpointSlice=true,ServiceTopology=true"
controllerManager:
extraArgs:
"feature-gates": "EndpointSlice=true,ServiceTopology=true"
- |
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
metadata:
name: config
nodeRegistration:
kubeletExtraArgs:
"feature-gates": "EndpointSlice=true,ServiceTopology=true"
# 1 control plane node and 3 workers