diff --git a/kubernetes/lookit/base/patches_/add-cloud-sql-proxy-sidecar.yaml b/kubernetes/lookit/base/patches_/add-cloud-sql-proxy-sidecar.yaml index d3948f3..6133a28 100644 --- a/kubernetes/lookit/base/patches_/add-cloud-sql-proxy-sidecar.yaml +++ b/kubernetes/lookit/base/patches_/add-cloud-sql-proxy-sidecar.yaml @@ -12,4 +12,9 @@ volumeMounts: - name: cloudsql-instance-credentials mountPath: /secrets/cloudsql - readOnly: true \ No newline at end of file + readOnly: true + startupProbe: + tcpSocket: + port: 5432 + initialDelaySeconds: 5 + periodSeconds: 5 \ No newline at end of file diff --git a/kubernetes/lookit/base/patches_/wait-init-gcloud-sqlproxy.yaml b/kubernetes/lookit/base/patches_/wait-init-gcloud-sqlproxy.yaml index 3075f3f..9951114 100644 --- a/kubernetes/lookit/base/patches_/wait-init-gcloud-sqlproxy.yaml +++ b/kubernetes/lookit/base/patches_/wait-init-gcloud-sqlproxy.yaml @@ -7,5 +7,6 @@ "rollout", "status", "deployment", + "-w", "$(GCLOUD_SQLPROXY_DEPLOYMENT_NAME)" ] \ No newline at end of file diff --git a/kubernetes/lookit/base/patches_/wait-init-rabbitmq.yaml b/kubernetes/lookit/base/patches_/wait-init-rabbitmq.yaml index 56ccc8b..7632c4a 100644 --- a/kubernetes/lookit/base/patches_/wait-init-rabbitmq.yaml +++ b/kubernetes/lookit/base/patches_/wait-init-rabbitmq.yaml @@ -7,5 +7,6 @@ "rollout", "status", "statefulset", + "-w", "$(RABBITMQ_STATEFULSET_NAME)" ] \ No newline at end of file diff --git a/kubernetes/lookit/base/rabbitmq/statefulset.yaml b/kubernetes/lookit/base/rabbitmq/statefulset.yaml index d464c7b..e083b2a 100644 --- a/kubernetes/lookit/base/rabbitmq/statefulset.yaml +++ b/kubernetes/lookit/base/rabbitmq/statefulset.yaml @@ -95,6 +95,11 @@ spec: periodSeconds: 30 failureThreshold: 3 successThreshold: 1 + startupProbe: + tcpSocket: + port: 5672 + initialDelaySeconds: 5 + periodSeconds: 5 env: - name: BITNAMI_DEBUG value: "false"