From 8b69428c52c187cab21f47cbbb619eaf5feea50e Mon Sep 17 00:00:00 2001 From: Thomas Stieler Date: Fri, 1 Nov 2024 15:45:37 +0100 Subject: [PATCH] [sophora-image-update-service] SIMSI-111: remove readiness probe (#128) * SIMSI-111: Remove readiness probe * SIMSI-111: Update chart version --------- Co-authored-by: Thomas Stieler --- charts/sophora-image-update-service/Chart.yaml | 2 +- .../templates/deployment.yaml | 14 ++------------ charts/sophora-image-update-service/values.yaml | 6 ------ 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/charts/sophora-image-update-service/Chart.yaml b/charts/sophora-image-update-service/Chart.yaml index 0e245e5..4ae5e03 100644 --- a/charts/sophora-image-update-service/Chart.yaml +++ b/charts/sophora-image-update-service/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.1 +version: 1.0.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/sophora-image-update-service/templates/deployment.yaml b/charts/sophora-image-update-service/templates/deployment.yaml index 6140045..2cbfda7 100644 --- a/charts/sophora-image-update-service/templates/deployment.yaml +++ b/charts/sophora-image-update-service/templates/deployment.yaml @@ -63,17 +63,7 @@ spec: {{- with .Values.livenessProbe }} livenessProbe: httpGet: - path: /actuator/health - port: http - failureThreshold: {{ .failureThreshold }} - initialDelaySeconds: {{ .initialDelaySeconds }} - periodSeconds: {{ .periodSeconds }} - timeoutSeconds: {{ .timeoutSeconds }} - {{- end }} - {{- with .Values.readinessProbe }} - readinessProbe: - httpGet: - path: /actuator/health + path: /actuator/health/liveness port: http failureThreshold: {{ .failureThreshold }} initialDelaySeconds: {{ .initialDelaySeconds }} @@ -83,7 +73,7 @@ spec: {{- with .Values.startupProbe }} startupProbe: httpGet: - path: /actuator/health + path: /actuator/health/liveness port: http failureThreshold: {{ .failureThreshold }} initialDelaySeconds: {{ .initialDelaySeconds }} diff --git a/charts/sophora-image-update-service/values.yaml b/charts/sophora-image-update-service/values.yaml index 21a454b..926e920 100644 --- a/charts/sophora-image-update-service/values.yaml +++ b/charts/sophora-image-update-service/values.yaml @@ -69,12 +69,6 @@ startupProbe: timeoutSeconds: 3 periodSeconds: 2 -readinessProbe: - failureThreshold: 3 - initialDelaySeconds: 1 - timeoutSeconds: 3 - periodSeconds: 5 - livenessProbe: failureThreshold: 1 initialDelaySeconds: 1