File tree Expand file tree Collapse file tree 3 files changed +57
-1
lines changed
sn-platform-slim/templates/streamnative-console
sn-platform/templates/streamnative-console Expand file tree Collapse file tree 3 files changed +57
-1
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,6 @@ charts/**/*.tgz
1515charts /** /* .lock
1616
1717PRIVATEKEY
18- PUBLICKEY
18+ PUBLICKEY
19+ .cursorindexingignore
20+ .specstory /
Original file line number Diff line number Diff line change @@ -262,6 +262,33 @@ spec:
262262 resources :
263263{{ toYaml .Values.streamnative_console.resources | indent 12 }}
264264 {{- end }}
265+ {{- if .Values.streamnative_console.probe.readiness.enabled }}
266+ readinessProbe :
267+ httpGet :
268+ path : /cloud-manager/login/enabled
269+ port : {{ .Values.streamnative_console.ports.frontend }}
270+ initialDelaySeconds : {{ .Values.streamnative_console.probe.readiness.initialDelaySeconds }}
271+ periodSeconds : {{ .Values.streamnative_console.probe.readiness.periodSeconds }}
272+ failureThreshold : {{ .Values.streamnative_console.probe.readiness.failureThreshold }}
273+ {{- end }}
274+ {{- if .Values.streamnative_console.probe.liveness.enabled }}
275+ livenessProbe :
276+ httpGet :
277+ path : /cloud-manager/login/enabled
278+ port : {{ .Values.streamnative_console.ports.frontend }}
279+ initialDelaySeconds : {{ .Values.streamnative_console.probe.liveness.initialDelaySeconds }}
280+ periodSeconds : {{ .Values.streamnative_console.probe.liveness.periodSeconds }}
281+ failureThreshold : {{ .Values.streamnative_console.probe.liveness.failureThreshold }}
282+ {{- end }}
283+ {{- if .Values.streamnative_console.probe.startup.enabled }}
284+ startupProbe :
285+ httpGet :
286+ path : /cloud-manager/login/enabled
287+ port : {{ .Values.streamnative_console.ports.frontend }}
288+ initialDelaySeconds : {{ .Values.streamnative_console.probe.startup.initialDelaySeconds }}
289+ periodSeconds : {{ .Values.streamnative_console.probe.startup.periodSeconds }}
290+ failureThreshold : {{ .Values.streamnative_console.probe.startup.failureThreshold }}
291+ {{- end }}
265292 workingDir : " /pulsar-manager/gateway"
266293 command : ["/pulsar-manager/gateway/gateway-entrypoint.sh"]
267294 env :
Original file line number Diff line number Diff line change @@ -272,6 +272,33 @@ spec:
272272 resources :
273273{{ toYaml .Values.streamnative_console.resources | indent 12 }}
274274 {{- end }}
275+ {{- if .Values.streamnative_console.probe.readiness.enabled }}
276+ readinessProbe :
277+ httpGet :
278+ path : /cloud-manager/login/enabled
279+ port : {{ .Values.streamnative_console.ports.frontend }}
280+ initialDelaySeconds : {{ .Values.streamnative_console.probe.readiness.initialDelaySeconds }}
281+ periodSeconds : {{ .Values.streamnative_console.probe.readiness.periodSeconds }}
282+ failureThreshold : {{ .Values.streamnative_console.probe.readiness.failureThreshold }}
283+ {{- end }}
284+ {{- if .Values.streamnative_console.probe.liveness.enabled }}
285+ livenessProbe :
286+ httpGet :
287+ path : /cloud-manager/login/enabled
288+ port : {{ .Values.streamnative_console.ports.frontend }}
289+ initialDelaySeconds : {{ .Values.streamnative_console.probe.liveness.initialDelaySeconds }}
290+ periodSeconds : {{ .Values.streamnative_console.probe.liveness.periodSeconds }}
291+ failureThreshold : {{ .Values.streamnative_console.probe.liveness.failureThreshold }}
292+ {{- end }}
293+ {{- if .Values.streamnative_console.probe.startup.enabled }}
294+ startupProbe :
295+ httpGet :
296+ path : /cloud-manager/login/enabled
297+ port : {{ .Values.streamnative_console.ports.frontend }}
298+ initialDelaySeconds : {{ .Values.streamnative_console.probe.startup.initialDelaySeconds }}
299+ periodSeconds : {{ .Values.streamnative_console.probe.startup.periodSeconds }}
300+ failureThreshold : {{ .Values.streamnative_console.probe.startup.failureThreshold }}
301+ {{- end }}
275302 workingDir : " /pulsar-manager/gateway"
276303 command : ["/pulsar-manager/gateway/gateway-entrypoint.sh"]
277304 env :
You can’t perform that action at this time.
0 commit comments