Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauri870/kubectl-renew
Kubectl plugin to renew(restart, start fresh) a single or all pods in a deployment, rc or daemonset
https://github.com/mauri870/kubectl-renew
deployment kubectl kubectl-plugins pod restart
Last synced: about 1 month ago
JSON representation
Kubectl plugin to renew(restart, start fresh) a single or all pods in a deployment, rc or daemonset
- Host: GitHub
- URL: https://github.com/mauri870/kubectl-renew
- Owner: mauri870
- Created: 2020-01-09T11:54:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T01:45:26.000Z (about 4 years ago)
- Last Synced: 2024-11-07T19:52:53.796Z (3 months ago)
- Topics: deployment, kubectl, kubectl-plugins, pod, restart
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kubectl renew
> NOTE: for kubectl > 1.15 just use `kubectl rollout restart` instead.
This is a simple kubectl plugin to renew(restart, start fresh) a single pod or all pods in a given deployment/daemonset/rc.
Kubectl by default has no easy way to restart pods, you need to either update the resource spec, scale it down and up again or delete the pods manually.
## Installation
You need a shell (sh for instance), kubectl and jq.
```sh
make install
make uninstall
```By default it will be installed at `/usr/local/bin`, you can customize the installation prefix with `PREFIX=/usr make install`.
## Usage
```sh
kubectl renew pod|deployment|daemonset|rc NAME
```