# ElasticSearch on Kubernetes (ECK): Enable OR Disable cluster-autoscaler.kubernetes.io/safe-to-evict

**URL:** <https://discuss.elastic.co/t/elasticsearch-on-kubernetes-eck-enable-or-disable-cluster-autoscaler-kubernetes-io-safe-to-evict/311431>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [August 4, 2022, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-on-kubernetes-eck-enable-or-disable-cluster-autoscaler-kubernetes-io-safe-to-evict/311431 "2022-08-04T13:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqueous](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@aqueous](https://discuss.elastic.co/u/aqueous)\
**Post date:** [August 4, 2022, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-on-kubernetes-eck-enable-or-disable-cluster-autoscaler-kubernetes-io-safe-to-evict/311431/1 "2022-08-04T13:44:03Z")

</div>

I am using the Elastic on Kubernetes (operator version 2.1).

How can I enable or disable the following annotation on the ElasticSearch nodes managed by ECK?  
"[cluster-autoscaler.kubernetes.io/safe-to-evict](http://cluster-autoscaler.kubernetes.io/safe-to-evict)": \<Set it to "true" OR "false"\>

Thanks  
Aqua

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 1, 2022, 1:44pm UTC](https://discuss.elastic.co/t/elasticsearch-on-kubernetes-eck-enable-or-disable-cluster-autoscaler-kubernetes-io-safe-to-evict/311431/2 "2022-09-01T13:44:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
