-
Notifications
You must be signed in to change notification settings - Fork 79
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
Restart policy kills konlet-startup container #79
Comments
Thanks for the report! @stenalpjolly Can you take a look? I'm not sure where you got the |
@morgante I believe it came from terraform-google-container-vm/main.tf Line 21 in b6c4b7c
invalid_restart_policy doesn't seemed to be used anywhere at that commit so it could be that the supported values changed.
|
Yea, I'm guessing the supported values changed. Or, rather, |
It's worth noting that even when supplying the values "never" or "on-failure", when I look at the vm metadata it still shows up as "Always". |
Here is some restart policy logic in the konlet service that contains "no"... |
PR #87 for this fix |
#87 merged - Thanks! |
TL;DR
When supplying the restart policy "No" in the terraform configuration, the konlet-startup container fails.
Expected behavior
I expect the konlet-startup container to run correctly.
Observed behavior
The konlet startup container fails with:
Terraform Configuration
Terraform Version
Additional information
My container does run when using the restart policies supported in the documentation, "never", "on-failure", or "always", but I have not been able to verify that their behavior is as expected.
The text was updated successfully, but these errors were encountered: