Pause and resume a rollout kubectl
Batch multiple edits without triggering rollouts, then resume to apply once
kubectl rollout pause deploy/<name> -n <ns>; kubectl rollout resume deploy/<name> -n <ns>
more kubectl
all 73 commands →
View last applied configuration
kubectl apply view-last-applied deploy/<name> -n <ns> -o yaml
Warning events across all namespaces
kubectl get events -A --field-selector type=Warning --sort-by=.lastTimestamp
Find all failed pods cluster-wide
kubectl get pods -A --field-selector status.phase=Failed
Wait on a jsonpath condition
kubectl wait --for=jsonpath='{.status.loadBalancer.ingress[0].ip}' svc/<name> -n <ns> --timeout=120s
Impersonate a user and group
kubectl auth can-i list secrets -n <ns> --as=<name> --as-group=system:serviceaccounts