SmartScaler : about behaviour and triggers #952
-
Hello everyone, I'm managing around 20 opensearch cluster using the operator. Since the documentation is really vague about what it exactly does and how it is triggered, does anyone have further details on this feature . I tried to test it on the following configuration (preemptively drained the warm pod to prevent data loss) :
With an OS Update to run on my-host-02, I'm trying to trigger smartScaler to :
First of all :
Hope I was clear in my explanations (english ain't my native langage). Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @paullebovic. |
Beta Was this translation helpful? Give feedback.
Hi @paullebovic.
The SmartScaler only kicks in when scaling down a nodepool (decreasing the number of replicas of a nodepool in the cluster spec). If active it will exclude the pod in Opensearch, trigger a drain, then remove the pod and remove the exclusion to clean up.
It does not deal with evictions/drains on the Kubernetes side for host replacements/restarts. That is handled by Kubernetes logic alone. For that I recommend you set a Pod Disruption Budget to limit the pods being restarted.