jplanckeel commented on code in PR #20567:
URL: https://github.com/apache/superset/pull/20567#discussion_r915597858
##########
helm/superset/templates/deployment.yaml:
##########
@@ -117,6 +117,24 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
+ livenessProbe:
+ httpGet:
+ path: /health
+ port: http
+ initialDelaySeconds: {{
.Values.supersetNode.livenessProbe.initialDelaySeconds | default 15 }}
+ timeoutSeconds: {{
.Values.supersetNode.livenessProbe.timeoutSeconds | default 1 }}
+ failureThreshold: {{
.Values.supersetNode.livenessProbe.failureThreshold | default 3 }}
+ periodSeconds: {{ .Values.supersetNode.livenessProbe.periodSeconds
| default 5 }}
+ successThreshold: {{
.Values.supersetNode.livenessProbe.successThreshold | default 1 }}
+ readinessProbe:
+ httpGet:
+ path: /health
+ port: http
+ initialDelaySeconds: {{
.supersetNode.Values.readinessProbe.initialDelaySeconds | default 15 }}
+ timeoutSeconds: {{
.Values.supersetNode.readinessProbe.timeoutSeconds | default 1 }}
+ failureThreshold: {{
.Values.supersetNode.readinessProbe.failureThreshold | default 3 }}
+ periodSeconds: {{
.Values.supersetNode.readinessProbe.periodSeconds | default 5 }}
+ successThreshold: {{
.Values.supersetNode.readinessProbe.successThreshold | default 1 }}
Review Comment:
I remove default in template and use values.yaml.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]