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

Add retry for fetching bootstrap configuration #968

Closed
jakubdyszkiewicz opened this issue Aug 12, 2020 · 0 comments · Fixed by #982
Closed

Add retry for fetching bootstrap configuration #968

jakubdyszkiewicz opened this issue Aug 12, 2020 · 0 comments · Fixed by #982

Comments

@jakubdyszkiewicz
Copy link
Contributor

Summary

When Pod is created, CP creates the Dataplane entity for this Pod. In the same time injector is injecting Kuma DP next to this Pod. Kuma DP requires Dataplane definition to start.

Due to Kubernetes eventually consistency model the order of those events is not specified. Kuma DP can be created before Dataplane entity which makes DP exit. K8S will restart such pod and eventually Kuma DP will start, but it would be nice to avoid errors and restarts.

What we can do is to add retries when fetching bootstrap config.

Note: this is especially visible when deploying Remote CP with Ingress at the same time, because it take even more time to create Dataplane entity for Ingress

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