What does -n prod mean?
kubectl get pods -n prod
- List pods in the prod namespace
- Show only pods literally named prod
- Return just the single newest pod
- Use the prod cluster context instead
-n scopes the command to a namespace.
Play DevOps ▸
kubectl get pods -n prod