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

Commit

Permalink
[7.0.x] scale tuning (#2159)
Browse files Browse the repository at this point in the history
* set value for health_test to prevent runaway cpu usage (#2117)


(cherry picked from commit 80857d6)

* [master] change coredns on workers to deployment (#2104)

* change coredns on workers to deployment; introduce cluster proportional autoscaler for DNS services

* tweak the proportional autoscaler to scale to 0 on worker nodes

* remove worker coredns daemonset during upgrade

* add critical labels and annotations

(cherry picked from commit d2848ec)

* [master] g1k scaling (#2146)

* Use algorithm for calculating number of simaltanous expand operations

* set a higher max interval when attempting to join a cluster to reduce load

* tuning for large clusters and cloud environments

* tuning for large clusters

* add godoc for operationsfilter

* temp e-ref (at PR)

* address review feedback

* address review feedback

* fix glitch in filter without any type filters

* increase default teleport connection limit

* update e ref

* update e ref

(cherry picked from commit 0a63c55)

* update planet and monitoring-app

* bump planet

* bump planet

* bump dns-app tag

* use correct version of monitoring app

* update e-ref to merged commit

* bump planet
  • Loading branch information
Kevin Nisbet authored Sep 30, 2020
1 parent 763beed commit 8956a96
Show file tree
Hide file tree
Showing 36 changed files with 1,548 additions and 203 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ RELEASE_OUT ?=
TELEPORT_TAG = 3.2.16
# TELEPORT_REPOTAG adapts TELEPORT_TAG to the teleport tagging scheme
TELEPORT_REPOTAG := v$(TELEPORT_TAG)
PLANET_TAG := 7.0.42-$(K8S_VER_SUFFIX)
PLANET_TAG := 7.0.46-$(K8S_VER_SUFFIX)
PLANET_BRANCH := $(PLANET_TAG)
K8S_APP_TAG := $(GRAVITY_TAG)
TELEKUBE_APP_TAG := $(GRAVITY_TAG)
WORMHOLE_APP_TAG := $(GRAVITY_TAG)
STORAGE_APP_TAG ?= 0.0.3
LOGGING_APP_TAG ?= 6.0.6
MONITORING_APP_TAG ?= 7.0.4
DNS_APP_TAG = 7.0.0
MONITORING_APP_TAG ?= 7.0.5
DNS_APP_TAG = 7.0.1
BANDWAGON_TAG ?= 6.0.1
RBAC_APP_TAG := $(GRAVITY_TAG)
TILLER_VERSION = 2.15.2
Expand Down
3 changes: 3 additions & 0 deletions assets/dns-app/hooks/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if [ $1 = "update" ]; then
echo "Updating resources"
rig upsert -f /var/lib/gravity/resources/dns.yaml

echo "Deleting coredns daemonset that has been replaced by a deployment"
rig delete ds/coredns-worker --resource-namespace=kube-system --force

echo "Checking status"
rig status $RIG_CHANGESET --retry-attempts=120 --retry-period=1s --debug
echo "Freezing"
Expand Down
Loading

0 comments on commit 8956a96

Please sign in to comment.