Skip to content

Commit

Permalink
feat (icm): enable timeoutSeconds for icm-wa (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
khauser authored Nov 25, 2024
1 parent c611717 commit 9a613c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/icm-web/templates/wa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,15 @@ spec:
initialDelaySeconds: {{ .Values.webadapter.probes.startup.initialDelaySeconds | default 0 }}
periodSeconds: {{ .Values.webadapter.probes.startup.periodSeconds | default 5 }}
failureThreshold: {{ .Values.webadapter.probes.startup.failureThreshold | default 6 }}
timeoutSeconds: {{ .Values.webadapter.probes.startup.timeoutSeconds | default 1 }}
livenessProbe:
tcpSocket:
port: {{ .Values.service.httpPort }}
# Check every 10s up to a total timeout of 30s
initialDelaySeconds: {{ .Values.webadapter.probes.liveness.initialDelaySeconds | default 0 }}
periodSeconds: {{ .Values.webadapter.probes.liveness.periodSeconds | default 10 }}
failureThreshold: {{ .Values.webadapter.probes.liveness.failureThreshold | default 3 }}
timeoutSeconds: {{ .Values.webadapter.probes.liveness.timeoutSeconds | default 1 }}
readinessProbe:
httpGet:
# /INTERSHOP/wastatus response code is directly linked to configuration servlet availability/validity and
Expand All @@ -200,6 +202,7 @@ spec:
initialDelaySeconds: {{ .Values.webadapter.probes.readiness.initialDelaySeconds | default 0 }}
periodSeconds: {{ .Values.webadapter.probes.readiness.periodSeconds | default 10 }}
failureThreshold: {{ .Values.webadapter.probes.readiness.failureThreshold | default 3 }}
timeoutSeconds: {{ .Values.webadapter.probes.readiness.timeoutSeconds | default 1 }}
volumeMounts:
{{- if .Values.webadapter.customHttpdConfig }}
- name: httpd-config-volume
Expand Down
3 changes: 3 additions & 0 deletions charts/icm-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ webadapter:
# initialDelaySeconds: 0
# periodSeconds: 5
# failureThreshold: 6
# timeoutSeconds: 1
liveness: {}
# initialDelaySeconds: 0
# periodSeconds: 10
# failureThreshold: 3
# timeoutSeconds: 1
readiness: {}
# initialDelaySeconds: 0
# periodSeconds: 10
# failureThreshold: 3
# timeoutSeconds: 1
sslCertificateRetrieval:
enabled: false
supportV1: false
Expand Down

0 comments on commit 9a613c0

Please sign in to comment.