You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* graceful shutdown of ingesters
Signed-off-by: Tom Hayward <thayward@infoblox.com>
* tolerate auto-scale-down now that it is safe
Signed-off-by: Tom Hayward <thayward@infoblox.com>
* allow overriding preStop hook
Signed-off-by: Tom Hayward <thayward@infoblox.com>
| ingester.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weight | int | `100` | |
468
468
| ingester.annotations | object | `{}` | |
469
-
| ingester.autoscaling.behavior.scaleDown.selectPolicy | string | `"Disabled"` | Scaledown procedure varies, so automatic scaledown is disabled Ref: https://cortexmetrics.io/docs/guides/ingesters-scaling-up-and-down/#scaling-down |
469
+
| ingester.autoscaling.behavior.scaleDown.policies | list | `[{"periodSeconds":1800,"type":"Pods","value":1}]` | see https://cortexmetrics.io/docs/guides/ingesters-scaling-up-and-down/#scaling-down for scaledown details |
470
+
| ingester.autoscaling.behavior.scaleDown.stabilizationWindowSeconds | int | `3600` | uses metrics from the past 1h to make scaleDown decisions |
470
471
| ingester.autoscaling.behavior.scaleUp.policies | list | `[{"periodSeconds":1800,"type":"Pods","value":1}]` | This default scaleup policy allows adding 1 pod every 30 minutes. Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior |
| ingester.autoscaling.maxReplicas | int | `30` | |
@@ -481,6 +482,7 @@ Kubernetes: `^1.19.0-0`
481
482
| ingester.extraVolumeMounts | list | `[]` | |
482
483
| ingester.extraVolumes | list | `[]` | |
483
484
| ingester.initContainers | list | `[]` | |
485
+
| ingester.lifecycle.preStop | object | `{"httpGet":{"path":"/ingester/shutdown","port":"http-metrics"}}` | The /shutdown preStop hook is recommended as part of the ingester scaledown process, but can be removed to optimize rolling restarts in instances that will never be scaled down or when using chunks storage with WAL disabled. https://cortexmetrics.io/docs/guides/ingesters-scaling-up-and-down/#scaling-down |
0 commit comments