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

Fixes crashloop caused by cert gen #454

Merged
merged 1 commit into from
Feb 5, 2020

Conversation

ritazh
Copy link
Member

@ritazh ritazh commented Feb 4, 2020

Fixes #452

Seems by removing the sleep in main.go in #418 the pod to exit before it has a chance to generate the cert.

Signed-off-by: Rita Zhang rita.z.zhang@gmail.com

@maxsmythe
Copy link
Contributor

Could we add the sleep before the exit so that the Pod isn't blocked on start up?

Also, we could block on cert generation with a timeout, that would avoid unnecessary lag in killing the pod. That could be follow-on work b/c fixing the bug takes priority.

@ritazh
Copy link
Member Author

ritazh commented Feb 5, 2020

Done

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sporadic Pod crash loop with helm chart
2 participants