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

Commit

Permalink
[6.1] Increase dns-app update status checks (#2324) (#2327)
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)

* Update Makefile
  • Loading branch information
Kevin Nisbet authored Nov 17, 2020
1 parent 1db4f9f commit 6cdce01
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 @@ -49,7 +49,7 @@ TELEKUBE_APP_TAG := $(GRAVITY_TAG)
WORMHOLE_APP_TAG := $(GRAVITY_TAG)
LOGGING_APP_TAG ?= 6.0.7
MONITORING_APP_TAG ?= 6.0.16
DNS_APP_TAG = 6.1.1
DNS_APP_TAG = 6.1.2
BANDWAGON_TAG ?= 6.0.1
RBAC_APP_TAG := $(GRAVITY_TAG)
# IMPORTANT: When updating tiller version, DO NOT FORGET to bump TILLER_APP_TAG as well!
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 6cdce01

Please sign in to comment.