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

Resource action equivalent to kubectl rollout restart #2177

Closed
jessesuen opened this issue Aug 20, 2019 · 1 comment · Fixed by #2300
Closed

Resource action equivalent to kubectl rollout restart #2177

jessesuen opened this issue Aug 20, 2019 · 1 comment · Fixed by #2300
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jessesuen
Copy link
Member

Is your feature request related to a problem? Please describe.

A common feature request is to be able to restart all pods of a deployment. This is basically the new kubectl rollout restart feature in kubectl v1.15:

https://github.com/kubernetes/kubernetes/pull/76062/files

Describe the solution you'd like

A new resource action should be introduced for deployments, "restart", which mimics the behavior of kubectl rollout restart, which essentially sets an timestamp annotation on spec.template.metadata.annotations, kubectl.kubernetes.io/restartedAt to current timestamp.

@jessesuen jessesuen added the enhancement New feature or request label Aug 20, 2019
@jessesuen jessesuen self-assigned this Aug 20, 2019
@alexec
Copy link
Contributor

alexec commented Aug 20, 2019

v1.4?

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

Successfully merging a pull request may close this issue.

2 participants