Command line utility to restart all of the pods in a Kubernetes namespace. Hit the project with a star if you find it useful ⭐
Supported by Qvault
You don't need this script. I recently found thanks to a friend a one-liner using the kubectl
command directly.
kubectl -n {NAMESPACE} rollout restart deploy
I've also update the blog post on the subject.
git clone https://github.com/lane-c-wagner/kubebounce
cd kubebounce
chmod +x kubebounce.sh
cp kubebounce.sh /usr/local/bin
Make sure you are in the kubernetes context associated with the cluster you care about. Kubebounce depends on the kubectl command.
kubebounce.sh {NAMESPACE}
Submit an issue (above in the issues tab)
I love help! Contribute by forking the repo and opening pull requests.
All pull requests should be submitted to the main
branch.