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

Retry with timeout during boot to wait for kong to start up #766

Closed
hbagdi opened this issue Jul 8, 2020 · 0 comments · Fixed by #771
Closed

Retry with timeout during boot to wait for kong to start up #766

hbagdi opened this issue Jul 8, 2020 · 0 comments · Fixed by #771

Comments

@hbagdi
Copy link
Member

hbagdi commented Jul 8, 2020

Multiple users have reported that the controller goes into a crash loop backoff state if kong container doesn't start up before the controller or if there is delay in startup of the kong container.

Add in a retry with back-off and timeout (30s) to the initial API call that the controller makes to Kong. This should result in more pods being started without any restarts.

See #761 and multiple posts on Kong Nation.

hbagdi pushed a commit that referenced this issue Jul 21, 2020
If k8s is starting up kong or if kong is taking a while to start up for any reason,
the ingress controller process would exit immediately since it can't
establish a connection with Kong. With this change, the controller performs
retries and then exits.

Fixes #761
Fixes #766
From #771
@hbagdi hbagdi closed this as completed Aug 11, 2020
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 a pull request may close this issue.

1 participant