Skip to content

Commit

Permalink
Zone tracker operations addition (#8288)
Browse files Browse the repository at this point in the history
* CHANGELOG

* Any time rollout_operator needs to be enabled that a prepare-shutdown would occur we should use zone tracker
  • Loading branch information
johannaratliff committed Jun 5, 2024
1 parent fc7ef9f commit 5d557e7
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
* [ENHANCEMENT] Add `_config.autoscaling_querier_predictive_scaling_enabled` to scale querier based on inflight queries 7 days ago. #7775
* [ENHANCEMENT] Add support to autoscale ruler-querier replicas based on in-flight queries too (in addition to CPU and memory based scaling). #8060 #8188
* [ENHANCEMENT] Distributor: improved distributor HPA scaling metric to only take in account ready pods. This requires the metric `kube_pod_status_ready` to be available in the data source used by KEDA to query scaling metrics (configured via `_config.autoscaling_prometheus_url`). #8250
* [ENHANCEMENT] Add zone tracker usage whenever `rollout_operator_enabled`. #8275
* [BUGFIX] Guard against missing samples in KEDA queries. #7691
* [BUGFIX] Add configmaps mutability to the `rollout_operator_role`. #8228

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
2 changes: 2 additions & 0 deletions operations/mimir-tests/test-consul-multi-zone-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
2 changes: 2 additions & 0 deletions operations/mimir-tests/test-multi-zone-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ spec:
containers:
- args:
- -kubernetes.namespace=default
- -use-zone-tracker=true
- -zone-tracker.config-map-name=rollout-operator-zone-tracker
image: grafana/rollout-operator:v0.14.0
imagePullPolicy: IfNotPresent
name: rollout-operator
Expand Down
2 changes: 2 additions & 0 deletions operations/mimir/rollout-operator.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

rollout_operator_args:: {
'kubernetes.namespace': $._config.namespace,
'use-zone-tracker': true,
'zone-tracker.config-map-name': 'rollout-operator-zone-tracker',
},

rollout_operator_node_affinity_matchers:: [],
Expand Down

0 comments on commit 5d557e7

Please sign in to comment.