Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Increase dns-app update status checks (#2324)
Browse files Browse the repository at this point in the history
The number of retry attempts when checking the status of rigging changes may be too short for clusters experiencing high scheduler load. We have a customer app that appears to crash during the app update, creating lots of kubernetes scheduler events and the dns pods can take more than 2 minutes to start.

(cherry picked from commit 2fd474a)
  • Loading branch information
Kevin Nisbet committed Nov 15, 2020
1 parent a8f4aa0 commit 18af320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/dns-app/hooks/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ $1 = "update" ]; then
rig upsert -f /var/lib/gravity/resources/dns.yaml

echo "Checking status"
rig status $RIG_CHANGESET --retry-attempts=120 --retry-period=1s --debug
rig status $RIG_CHANGESET --retry-attempts=600 --retry-period=1s --debug
echo "Freezing"
rig freeze
elif [ $1 = "rollback" ]; then
Expand Down

0 comments on commit 18af320

Please sign in to comment.