Skip to content

Commit

Permalink
Enable startupProbe in some containers
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelLR committed Mar 26, 2024
1 parent 8946eb5 commit 051e011
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
5 changes: 4 additions & 1 deletion chart/templates/import-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,11 @@ spec:
{{- if .Values.importApi.startupProbe.enabled }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.importApi.startupProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /
path: /health
port: http
httpHeaders:
- name: Carto-Monitoring
value: 1
{{- else if .Values.importApi.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.importApi.customStartupProbe "context" $) | nindent 12 }}
{{- end }}
Expand Down
5 changes: 4 additions & 1 deletion chart/templates/maps-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,11 @@ spec:
{{- if .Values.mapsApi.startupProbe.enabled }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.mapsApi.startupProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /
path: /health
port: http
httpHeaders:
- name: Carto-Monitoring
value: 1
{{- else if .Values.mapsApi.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.mapsApi.customStartupProbe "context" $) | nindent 12 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions chart/templates/workspace-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ spec:
httpGet:
path: /health
port: http
httpHeaders:
- name: Carto-Monitoring
value: 1
{{- else if .Values.workspaceApi.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.workspaceApi.customStartupProbe "context" $) | nindent 12 }}
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ importApi:
## @param importApi.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
enabled: true
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
Expand Down Expand Up @@ -1687,7 +1687,7 @@ mapsApi:
## @param mapsApi.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
enabled: true
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
Expand Down Expand Up @@ -3672,7 +3672,7 @@ workspaceApi:
## @param workspaceApi.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe:
enabled: false
enabled: true
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
Expand Down

0 comments on commit 051e011

Please sign in to comment.