Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use kubectl rollout restart instead of pod delete #22

Open
krottiers opened this issue Mar 12, 2021 · 0 comments
Open

Use kubectl rollout restart instead of pod delete #22

krottiers opened this issue Mar 12, 2021 · 0 comments
Labels

Comments

@krottiers
Copy link

The chart schedule-pod-restart currently uses pod delete to trigger a restart of a specific pod. A more clean way would be to use:
'kubectl rollout restart `

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-restart-em-

In my opinion this is a cleaner option then forcing kubernetes to discover that something is wrong and bringing everything up to spec again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants