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

Commit

Permalink
[7.0] Increase dns-app update status checks (#2324) (#2326)
Browse files Browse the repository at this point in the history
* Increase dns-app update status checks (#2324)

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)

* Bump DNS_APP_TAG
  • Loading branch information
Kevin Nisbet authored Nov 18, 2020
1 parent 00b780e commit a8c934b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ WORMHOLE_APP_TAG := $(GRAVITY_TAG)
STORAGE_APP_TAG ?= 0.0.3
LOGGING_APP_TAG ?= 6.0.7
MONITORING_APP_TAG ?= 7.0.5
DNS_APP_TAG = 7.0.1
DNS_APP_TAG = 7.0.2
BANDWAGON_TAG ?= 6.0.1
RBAC_APP_TAG := $(GRAVITY_TAG)
TILLER_VERSION = 2.16.12
Expand Down
2 changes: 1 addition & 1 deletion assets/dns-app/hooks/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ $1 = "update" ]; then
rig delete ds/coredns-worker --resource-namespace=kube-system --force

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 a8c934b

Please sign in to comment.