Skip to content

Commit

Permalink
fix(provider): Increase initial and period delays in livenessProbe co…
Browse files Browse the repository at this point in the history
…nfiguration (#272)

Adjust the livenessProbe settings in Kubernetes to handle slower startup times on larger providers. Changes include:
- `initialDelaySeconds`: Increased from 120 to 240 seconds.
- `periodSeconds`: Increased from 10 to 30 seconds.
- `timeoutSeconds`: Increased from 10 to 30 seconds.

These adjustments help prevent premature pod restarts due to timeouts in the liveness checks.
  • Loading branch information
andy108369 committed Apr 12, 2024
1 parent 0bf8b91 commit cb0c7f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/akash-provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# Versions are expected to follow Semantic Versioning (https://semver.org/)

# Major version bit highlights the mainnet release (e.g. mainnet4 = 4.x.x, mainnet5 = 5.x.x, ...)
version: 9.2.3
version: 9.2.4

# 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
6 changes: 3 additions & 3 deletions charts/akash-provider/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ spec:
- sh
- -c
- /scripts/liveness_checks.sh
initialDelaySeconds: 120
periodSeconds: 10
initialDelaySeconds: 240
periodSeconds: 30
failureThreshold: 1
timeoutSeconds: 10
timeoutSeconds: 30

volumeMounts:
- name: scripts
Expand Down

0 comments on commit cb0c7f7

Please sign in to comment.