Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
kubectl force pod rotations
kubectl get po --all-namespaces --selector=name=varnish -o jsonpath='{range .items[*]}{@.metadata.namespace}{" "}{@.metadata.name}{"\n"}{end}' | xargs -n2 -- sh -c 'kubectl -n $1 delete po $2' sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment