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

Wait for etcd to startup before trying to connect to it #337

Closed
wants to merge 1 commit into from

Conversation

bodom0015
Copy link
Member

Problem

etcd sometimes takes a few seconds to startup. In the meantime, the apiserver goes into CrashLoopBackoff while attempting to connect to etcd.

Approach

Use a simple bash loop to wait for etcd to startup before attempting to connect to it

How to Test

  1. Deploy the new image via the Helm chart
  2. Check the logs of the apiserver: kubectl logs -f deploy/workbench -c apiserver
    • You should see that the apiserver waits for etcd to start before continuing its own startup

@bodom0015
Copy link
Member Author

Included as a part of #336

@bodom0015 bodom0015 closed this Feb 12, 2021
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.

1 participant