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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store