File tree Expand file tree Collapse file tree
applications/prompt-pub/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,10 +72,13 @@ spec:
7272 - name : AWS_REQUEST_CHECKSUM_CALCULATION
7373 value : WHEN_REQUIRED
7474 readinessProbe :
75- tcpSocket :
76- port : 5432
75+ httpGet :
76+ path : /readiness
77+ port : 9040
7778 initialDelaySeconds : 2
7879 periodSeconds : 5
80+ timeoutSeconds : 3
81+ failureThreshold : 3
7982 volumeMounts :
8083 - name : gcp-int-repo-config-volume
8184 mountPath : /opt/lsst/configs/gcp-repo-path
@@ -92,16 +95,29 @@ spec:
9295 command :
9396 - " /alloydb-auth-proxy"
9497 - " --public-ip"
95- - " --address=0 .0.0.0 "
98+ - " --address=127 .0.0.1 "
9699 - " --port=5432"
100+ - " --health-check"
101+ - " --http-port=9040"
97102 - " --credentials-file"
98103 - " /opt/lsst/secrets/alloy-db/key.json"
99104 - {{ .Values.alloyDbProxy.config.instanceUri | quote }}
100105 readinessProbe :
101- tcpSocket :
102- port : 5432
106+ httpGet :
107+ path : /readiness
108+ port : 9040
103109 initialDelaySeconds : 2
104110 periodSeconds : 5
111+ timeoutSeconds : 3
112+ failureThreshold : 3
113+ livenessProbe :
114+ httpGet :
115+ path : /liveness
116+ port : 9040
117+ initialDelaySeconds : 30
118+ periodSeconds : 10
119+ timeoutSeconds : 5
120+ failureThreshold : 3
105121 resources :
106122 {{- toYaml .Values.alloyDbProxy.resources | nindent 12 }}
107123 securityContext :
You can’t perform that action at this time.
0 commit comments