Skip to content

Commit

Permalink
add periodSeconds:30 to liveness and readiness probes to stop pod fro…
Browse files Browse the repository at this point in the history
…m restarting before its ready.
  • Loading branch information
samdulam authored Apr 3, 2024
1 parent 4923718 commit b7b5f65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/portainer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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.

version: 1.0.49
version: 1.0.50

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 2 additions & 0 deletions charts/portainer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ spec:
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 45
periodSeconds: 30
httpGet:
path: /
{{- if .Values.tls.force }}
Expand Down Expand Up @@ -145,6 +146,7 @@ spec:
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 45
periodSeconds: 30
httpGet:
path: /
{{- if .Values.tls.force }}
Expand Down

0 comments on commit b7b5f65

Please sign in to comment.