Skip to content

Commit

Permalink
[sophora-image-update-service] SIMSI-111: remove readiness probe (#128)
Browse files Browse the repository at this point in the history
* SIMSI-111: Remove readiness probe

* SIMSI-111: Update chart version

---------

Co-authored-by: Thomas Stieler <[email protected]>
  • Loading branch information
thstieler and Thomas Stieler authored Nov 1, 2024
1 parent f7284d6 commit 8b69428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/sophora-image-update-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 2 additions & 12 deletions charts/sophora-image-update-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -83,7 +73,7 @@ spec:
{{- with .Values.startupProbe }}
startupProbe:
httpGet:
path: /actuator/health
path: /actuator/health/liveness
port: http
failureThreshold: {{ .failureThreshold }}
initialDelaySeconds: {{ .initialDelaySeconds }}
Expand Down
6 changes: 0 additions & 6 deletions charts/sophora-image-update-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ startupProbe:
timeoutSeconds: 3
periodSeconds: 2

readinessProbe:
failureThreshold: 3
initialDelaySeconds: 1
timeoutSeconds: 3
periodSeconds: 5

livenessProbe:
failureThreshold: 1
initialDelaySeconds: 1
Expand Down

0 comments on commit 8b69428

Please sign in to comment.