File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
deploy/helm/chart/templates Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 7979 - name : NATS_SERVER
8080 value : " {{ $.Values.natsAddr }}"
8181 {{- end }}
82+ ports :
83+ - name : health
84+ containerPort : {{ $.Values.healthPort | default 5000 }}
85+ livenessProbe :
86+ {{- if $serviceSpec.extraPodSpec.mainContainer.livenessProbe }}
87+ {{ $serviceSpec.extraPodSpec.mainContainer.livenessProbe | toYaml | nindent 10 }}
88+ {{- else }}
89+ initialDelaySeconds : 60
90+ periodSeconds : 60
91+ timeoutSeconds : 5
92+ failureThreshold : 10
93+ successThreshold : 1
94+ httpGet :
95+ path : /healthz
96+ port : health
97+ scheme : HTTP
98+ {{- end }}
99+ readinessProbe :
100+ {{- if $serviceSpec.extraPodSpec.mainContainer.readinessProbe }}
101+ {{ $serviceSpec.extraPodSpec.mainContainer.readinessProbe | toYaml | nindent 10 }}
102+ {{- else }}
103+ initialDelaySeconds : 60
104+ periodSeconds : 60
105+ timeoutSeconds : 5
106+ failureThreshold : 10
107+ successThreshold : 1
108+ httpGet :
109+ path : /readyz
110+ port : health
111+ scheme : HTTP
112+ {{- end }}
82113{{- end }}
You can’t perform that action at this time.
0 commit comments