Created
July 29, 2020 17:25
-
-
Save mateiidavid/ba318acf576703cfd151b41af162dc30 to your computer and use it in GitHub Desktop.
Kind cluster with ServiceTopology&EndpointSlices feature gates + different node topologies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
featureGates: | |
EndpointSlice: true | |
EndpointSliceProxying: true | |
ServiceTopology: true | |
nodes: | |
- role: control-plane | |
kubeadmConfigPatches: | |
- | | |
kind: JoinConfiguration | |
nodeRegistration: | |
kubeletExtraArgs: | |
node-labels: "topology.kubernetes.io/zone=west-1c,topology.kubernetes.io/region=west" | |
- role: worker | |
kubeadmConfigPatches: | |
- | | |
kind: JoinConfiguration | |
nodeRegistration: | |
kubeletExtraArgs: | |
node-labels: "topology.kubernetes.io/zone=west-1a,topology.kubernetes.io/region=west" | |
- role: worker | |
kubeadmConfigPatches: | |
- | | |
kind: JoinConfiguration | |
nodeRegistration: | |
kubeletExtraArgs: | |
node-labels: "topology.kubernetes.io/zone=east-1c,topology.kubernetes.io/region=east" | |
# An extra node toasts my laptop, feel free to uncomment to have more depth in terms of topology | |
# - role: worker | |
# kubeadmConfigPatches: | |
# - | | |
# kind: JoinConfiguration | |
# nodeRegistration: | |
# kubeletExtraArgs: | |
# node-labels: "topology.kubernetes.io/zone=east-1c,topology.kubernetes.io/region=east" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment