lookit / lookit-orchestrator

Continuous Integration and Continuous Delivery for Lookit.
0 stars 2 forks source link

Modifying Init Containers #18

Closed jtrouth closed 3 years ago

jtrouth commented 3 years ago

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 commented 3 years ago

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

jtrouth commented 3 years ago

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

kimberscott commented 3 years ago

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