Get service endpoints kubectl
Show pod IPs backing a Service — diagnose selector mismatch
kubectl get endpoints <svc> -n <ns>
more kubectl
all 73 commands →
Check certificate expiry (cert-manager)
kubectl get certificate -A -o wide
View pod topology spread
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.topologySpreadConstraints}'
Apply with prune
kubectl apply -f ./dir/ --prune -l app=<label> -n <ns>
Diff live vs local
kubectl diff -f file.yaml
Exec command in all pods
kubectl get pods -n <ns> -l app=<label> -o name | xargs -I{} kubectl exec {} -n <ns> -- <cmd>