Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(provider): increase timeout for the livenessProbe #273

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading