kubectl get svc
SafeList services
kubectl get svc -A
Lists Services (exposed/ClusterIP); triage reachability.
Examples
kubectl get svc -AAll services
Syntax
kubectl get svc [-n <ns>] [-A]
Before you run it
Read-only.
Used when you see
502/504 through the Ingress
2
See the whole flow →Check the Service has live endpointsEmpty endpoints mean selector mismatch or dead pods.
Related commands
- kubectl get podsList pods
- kubectl port-forwardPort-forward
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store