DaemonSet should allow for a RestartPolicy of OnFailure #17182
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.
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
ofAlways
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 casesDaemonSet
should allow for aRestartPolicy
ofOnFailure
.The text was updated successfully, but these errors were encountered: