Skip to content

Commit

Permalink
chore(helm): add initialDelaySeconds for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Apr 12, 2024
1 parent c0e984b commit e99ec90
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/core/templates/api-gateway/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,14 @@ spec:
scheme: {{ upper (ternary "https" "http" .Values.apiGateway.tls.enabled) }}
port: {{ ternary "https" "http" .Values.apiGateway.tls.enabled }}
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /__health
scheme: {{ upper (ternary "https" "http" .Values.apiGateway.tls.enabled) }}
port: {{ ternary "https" "http" .Values.apiGateway.tls.enabled }}
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.apiGateway.resources }}
resources:
{{- toYaml .Values.apiGateway.resources | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/core/templates/console/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ spec:
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /api/health
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.console.resources }}
resources:
{{- toYaml .Values.console.resources | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/core/templates/mgmt-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,14 @@ spec:
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /v1beta/__liveness
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.mgmtBackend.resources }}
resources:
{{- toYaml .Values.mgmtBackend.resources | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/core/templates/model-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,14 @@ spec:
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /v1alpha/__liveness
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.modelBackend.resources }}
resources:
{{- toYaml .Values.modelBackend.resources | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/core/templates/pipeline-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,14 @@ spec:
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /v1beta/__liveness
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ ternary "https" "http" .Values.internalTLS.enabled }}-public
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.pipelineBackend.containers.pipelineBackend.resources }}
resources:
{{- toYaml .Values.pipelineBackend.containers.pipelineBackend.resources | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/core/templates/registry/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@ spec:
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ template "core.registry.port" . }}
periodSeconds: 10
initialDelaySeconds: 60
livenessProbe:
httpGet:
path: /
scheme: {{ ternary "https" "http" .Values.internalTLS.enabled | upper }}
port: {{ template "core.registry.port" . }}
periodSeconds: 10
initialDelaySeconds: 60
{{- if .Values.registry.resources }}
resources:
{{- toYaml .Values.registry.resources | nindent 12 }}
Expand Down

0 comments on commit e99ec90

Please sign in to comment.