A Service with No Endpoints
kubectl get endpointslices -l kubernetes.io/service-name=web shows no endpoints, although Pods of the web app are Running and Ready. What is the most likely cause?
kubectl get endpointslices -l kubernetes.io/service-name=web
Choose one answer
The Service's selector does not match the Pods' labels.
selector
The Service type is ClusterIP.
kube-proxy is not installed.
The Pods are in a different node.