From 589c1d5301fcb3d0a1877fc96cdcf533c67e4801 Mon Sep 17 00:00:00 2001 From: Jared Trouth Date: Tue, 16 Feb 2021 11:24:09 -0600 Subject: [PATCH] Add startup probe to sql proxy container --- .../lookit/base/patches_/add-cloud-sql-proxy-sidecar.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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