Check certificate expiry (cert-manager) kubectl
See cert-manager Certificate ready status and expiry dates
kubectl get certificate -A -o wide
more kubectl
all 73 commands →
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>
Watch pod status changes
kubectl get pods -n <ns> -w