kubectl get svc

Category: Kubernetes & Containers

kubectl get svc

List services and their endpoints

Shows services (stable network endpoints that route traffic to a set of pods) with their cluster IPs and ports. EXTERNAL-IP stays pending until a LoadBalancer provisioner assigns one. Pair with kubectl get endpoints to see which pod IPs back the service.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.