https://github.com/wagslane/kubebounce
Command-line utility to restart all of the pods in a Kubernetes namespace
https://github.com/wagslane/kubebounce
cli devops devops-tools kubernetes
Last synced: about 1 year ago
JSON representation
Command-line utility to restart all of the pods in a Kubernetes namespace
- Host: GitHub
- URL: https://github.com/wagslane/kubebounce
- Owner: wagslane
- License: mit
- Created: 2020-10-22T14:52:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-25T15:38:14.000Z (over 5 years ago)
- Last Synced: 2025-04-01T18:50:37.979Z (about 1 year ago)
- Topics: cli, devops, devops-tools, kubernetes
- Language: Shell
- Homepage: https://qvault.io/2020/10/26/how-to-restart-all-pods-in-a-kubernetes-namespace/
- Size: 2.93 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubebounce
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](https://app.qvault.io)
## Update - There is a better way
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](https://qvault.io/2020/10/26/how-to-restart-all-pods-in-a-kubernetes-namespace/) on the subject.
## Install (Mac and Linux)
```
git clone https://github.com/lane-c-wagner/kubebounce
cd kubebounce
chmod +x kubebounce.sh
cp kubebounce.sh /usr/local/bin
```
## Usage
Make sure you are in the kubernetes context associated with the cluster you care about. Kubebounce depends on the [kubectl]() command.
```bash
kubebounce.sh {NAMESPACE}
```
## 💬 Contact
[](https://twitter.com/intent/follow?screen_name=wagslane)
Submit an issue (above in the issues tab)
## 👏 Contributing
I love help! Contribute by forking the repo and opening pull requests.
All pull requests should be submitted to the `main` branch.