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

Modifying Init Containers #18

Merged
merged 6 commits into from
Mar 15, 2021
Merged

Conversation

jtrouth
Copy link
Contributor

@jtrouth jtrouth commented Mar 12, 2021

This pull changes the init containers used to wait for both Cloud SQL Proxy and RabbitMQ to start up on the cluster. The previous implementation utilized the kubectl deploy command which does not guarantee service availability.

The SQL Proxy init container now uses pg_isready to confirm when the database connection is ready. The RabbitMQ init container now uses netcat to wait until RabbitMQ is responding on port 5672.

Resolves: #5 & #6

@kimberscott
Copy link

This is great! Shall we go ahead and try out a new deployment on staging with it?

@jtrouth
Copy link
Contributor Author

jtrouth commented Mar 15, 2021

Yes, please. I'll verify the errors don't show up after the deployment.

@kimberscott kimberscott merged commit fca50aa into lookit:develop Mar 15, 2021
@kimberscott
Copy link

ok, new build of lookit-api using this orchestrator build happening now!

@jtrouth jtrouth deleted the init-containers branch March 15, 2021 18:54
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.

2 participants