From 7378e83cdfc359c5576a60fb5af250b7093011e1 Mon Sep 17 00:00:00 2001 From: nleconte-csgroup Date: Thu, 15 Feb 2024 16:24:28 +0100 Subject: [PATCH] wip: add probes --- .../rs-server-adgs/templates/deployment.yaml | 28 +++++++++---------- charts/rs-server-adgs/values.yaml | 8 +++--- .../rs-server-cadip/templates/deployment.yaml | 28 +++++++++---------- charts/rs-server-cadip/values.yaml | 8 +++--- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/charts/rs-server-adgs/templates/deployment.yaml b/charts/rs-server-adgs/templates/deployment.yaml index 52e9da0..a46c762 100644 --- a/charts/rs-server-adgs/templates/deployment.yaml +++ b/charts/rs-server-adgs/templates/deployment.yaml @@ -95,20 +95,20 @@ spec: key: pass securityContext: privileged: false - #livenessProbe: - #httpGet: - #path: {{ .Values.probe.liveness.path }} - #port: {{ .Values.probe.liveness.port }} - #initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }} - #periodSeconds: {{ .Values.probe.liveness.periodSeconds }} - #timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }} - #readinessProbe: - #httpGet: - #path: {{ .Values.probe.readiness.path }} - #port: {{ .Values.probe.readiness.port }} - #initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }} - #periodSeconds: {{ .Values.probe.readiness.periodSeconds }} - #timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }} + livenessProbe: + httpGet: + path: {{ .Values.probe.liveness.path }} + port: {{ .Values.probe.liveness.port }} + initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.probe.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }} + readinessProbe: + httpGet: + path: {{ .Values.probe.readiness.path }} + port: {{ .Values.probe.readiness.port }} + initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }} + periodSeconds: {{ .Values.probe.readiness.periodSeconds }} + timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }} #imagePullSecrets: #- name: {{ .Values.image.imagePullSecrets }} restartPolicy: Always diff --git a/charts/rs-server-adgs/values.yaml b/charts/rs-server-adgs/values.yaml index f13bf93..c93ffa1 100644 --- a/charts/rs-server-adgs/values.yaml +++ b/charts/rs-server-adgs/values.yaml @@ -20,14 +20,14 @@ app: probe: liveness: - path: /app/ping - port: 8080 + path: /health + port: 8000 initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 readiness: - path: /app/ping - port: 8080 + path: /health + port: 8000 initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 diff --git a/charts/rs-server-cadip/templates/deployment.yaml b/charts/rs-server-cadip/templates/deployment.yaml index eeab8d9..9c19b42 100644 --- a/charts/rs-server-cadip/templates/deployment.yaml +++ b/charts/rs-server-cadip/templates/deployment.yaml @@ -95,20 +95,20 @@ spec: key: pass securityContext: privileged: false - #livenessProbe: - #httpGet: - #path: {{ .Values.probe.liveness.path }} - #port: {{ .Values.probe.liveness.port }} - #initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }} - #periodSeconds: {{ .Values.probe.liveness.periodSeconds }} - #timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }} - #readinessProbe: - #httpGet: - #path: {{ .Values.probe.readiness.path }} - #port: {{ .Values.probe.readiness.port }} - #initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }} - #periodSeconds: {{ .Values.probe.readiness.periodSeconds }} - #timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }} + livenessProbe: + httpGet: + path: {{ .Values.probe.liveness.path }} + port: {{ .Values.probe.liveness.port }} + initialDelaySeconds: {{ .Values.probe.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.probe.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.probe.liveness.timeoutSeconds }} + readinessProbe: + httpGet: + path: {{ .Values.probe.readiness.path }} + port: {{ .Values.probe.readiness.port }} + initialDelaySeconds: {{ .Values.probe.readiness.initialDelaySeconds }} + periodSeconds: {{ .Values.probe.readiness.periodSeconds }} + timeoutSeconds: {{ .Values.probe.readiness.timeoutSeconds }} #imagePullSecrets: #- name: {{ .Values.image.imagePullSecrets }} restartPolicy: Always diff --git a/charts/rs-server-cadip/values.yaml b/charts/rs-server-cadip/values.yaml index ac4888f..25c0163 100644 --- a/charts/rs-server-cadip/values.yaml +++ b/charts/rs-server-cadip/values.yaml @@ -20,14 +20,14 @@ app: probe: liveness: - path: /app/ping - port: 8080 + path: /health + port: 8000 initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 readiness: - path: /app/ping - port: 8080 + path: /health + port: 8000 initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5