Skip to content

Commit

Permalink
feat(provider): add api status ep healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
andy108369 committed Mar 7, 2024
1 parent e96755c commit 929cdc2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
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.0.6
version: 9.0.7

# 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
12 changes: 12 additions & 0 deletions charts/akash-provider/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,18 @@ spec:
containerPort: 8444
protocol: TCP

livenessProbe:
exec:
command:
- sh
- -c
- |
curl -o /dev/null -fsk https://127.0.0.1:8443/status
initialDelaySeconds: 120
periodSeconds: 10
failureThreshold: 1
timeoutSeconds: 10

volumeMounts:
- name: boot
mountPath: /boot
Expand Down

0 comments on commit 929cdc2

Please sign in to comment.