Skip to content

Instantly share code, notes, and snippets.

@bcoughlan
Created February 21, 2020 00:01
Show Gist options
  • Save bcoughlan/6f8649e36719664e3fc013a15789aa05 to your computer and use it in GitHub Desktop.
Save bcoughlan/6f8649e36719664e3fc013a15789aa05 to your computer and use it in GitHub Desktop.
kubeadm: Enable service topology in 1.17
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
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: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
featureGates:
EndpointSlice: true
ServiceTopology: true
---
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
"feature-gates": "EndpointSlice=true,ServiceTopology=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment