Kubernetes control plane how to increase Endpoint Slices for Service

9/23/2020

I am gettingthe below error and unable to resolve this. "Error updating Endpoint Slices for Service default/centosdei2-service: failed to update centosdei2-service-dc4tm EndpointSlice for Service default/centosdei2-service: EndpointSlice.discovery.k8s.io "centosdei2-service-dc4tm" is invalid: ports: Too many: 109: must have at most 100 items"

Tried to add " - --max-endpoints-per-slice=150" in the /etc/kubernetes/manifests/kube-controller-manager.yaml and restarted the master but didnt work. Any pointers?

-- user10820864
kube-controller-manager
kubernetes

0 Answers