-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Proposal: restart policy #905
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
Comments
@AkihiroSuda Don't think we should do this in containerd. This could be done by the higher level system. |
Not sure if we would use it in LinuxKit - either containers can define their own restarts, or possibly we might add external restart support. But generally I find restart fairly useless, as things that fail normally fail again, and restart rarely helps. |
-1 restart policy seems like a job of a higher level component. |
No, this is part of the fundamental design of containerd that it does not handle things like this and provides events and other primitives for higher levels to implement restarts or rescheduling logic. If you have any questions about overall design and where we positioned containerd in the stack please send me and email or on slack and I'll help you understand better. |
It might be good to put
RestartPolicy
structure toCreateContainerRequest
/UpdateContainerRequest
:I guess this is useful for linuxkit, cc linuxkit maintainers @ijc25 @justincormack @riyazdf @rneugeba
The text was updated successfully, but these errors were encountered: