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

DaemonSet should allow for a RestartPolicy of OnFailure #17182

Closed
eliaslevy opened this issue Nov 12, 2015 · 2 comments
Closed

DaemonSet should allow for a RestartPolicy of OnFailure #17182

eliaslevy opened this issue Nov 12, 2015 · 2 comments
Labels
needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@eliaslevy
Copy link

There are situations where we would like to run a container on each node, but the container is not meant to execute indefinitely, so that a RestartPolicy of Always is not desirable. Consider a container that queries the AWS metadata service and applies appropriate labels to the node (e.g. region, zone, security groups, etc). Currently this can be accomplished with static pods, but K8s recommends against end users making use of static pods. To enable migration away from static pods for such use cases DaemonSet should allow for a RestartPolicy of OnFailure.

@davidopp davidopp added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Nov 27, 2015
@k8s-github-robot
Copy link

@eliaslevy There are no sig labels on this issue. Please add a sig label by:
(1) mentioning a sig: @kubernetes/sig-<team-name>-misc
(2) specifying the label manually: /sig <label>

Note: method (1) will trigger a notification to the team. You can find the team list here.

@k8s-github-robot k8s-github-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label May 31, 2017
@0xmichalis
Copy link
Contributor

Closing as a dupe of #36601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

5 participants