Skip to content

Commit

Permalink
fix(provider): increase timeout for the livenessProbe (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy108369 authored Apr 12, 2024
1 parent cb0c7f7 commit ef01086
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.4
version: 9.2.5

# 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
4 changes: 2 additions & 2 deletions charts/akash-provider/scripts/liveness_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ if ! openssl x509 -in /config/provider.pem -checkend 3600 -noout > /dev/null; th
fi

# Provider API /status check
if ! timeout 5s curl -o /dev/null -fsk https://127.0.0.1:8443/status; then
if ! timeout 30s curl -o /dev/null -fsk https://127.0.0.1:8443/status; then
echo "api /status check failed"
exit 1
fi

# Provider gRPC check
if ! timeout 5s curl -k -v --http2-prior-knowledge https://127.0.0.1:8444 2>&1 | grep -qi 'application/grpc'; then
if ! timeout 30s curl -k -v --http2-prior-knowledge https://127.0.0.1:8444 2>&1 | grep -qi 'application/grpc'; then
echo "gRPC check failed"
exit 1
fi
Expand Down

0 comments on commit ef01086

Please sign in to comment.