# Picking up a configuration file change

**URL:** <https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [January 8, 2020, 11:37am UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219 "2020-01-08T11:37:33Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![JanKowalik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jankowalik/32/55905_2.png) [@JanKowalik](https://discuss.elastic.co/u/JanKowalik)\
**Post date:** [January 16, 2020, 10:22am UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/22 "2020-01-16T10:22:22Z")

</div>

I just saw that ECK is now generally available and out of beta stage. Was the above issue fixed then? Has anyone looked into it?

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [January 16, 2020, 10:30am UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/23 "2020-01-16T10:30:12Z")

</div>

Could you please retry with 1.0.0 and paste the logs here, this new release should produce some additional information when the upgrade process is stuck.

Thank you

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [January 16, 2020, 12:56pm UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/24 "2020-01-16T12:56:15Z")

</div>

```
  updateStrategy:
    changeBudget:
      maxSurge: 2
      maxUnavailable: 0

```

If you were using the beta-1 it is surprising that you are not hitting this bug: [https://github.com/elastic/cloud-on-k8s/issues/2034](https://github.com/elastic/cloud-on-k8s/issues/2034) (It is fixed in 1.0.0) _(edit: actually I think you will once you apply the suggested fix below)_

The root cause of your problem is that you are not allowing a single Pod to be unavailable, ECK can't restart a Pod.

Try the following:

```
  updateStrategy:
    changeBudget:
      maxSurge: 2
      maxUnavailable: 1
```

---

<div class="post-metadata">

**Author:** ![JanKowalik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jankowalik/32/55905_2.png) [@JanKowalik](https://discuss.elastic.co/u/JanKowalik)\
**Post date:** [January 16, 2020, 6:55pm UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/25 "2020-01-16T18:55:16Z")

</div>

Hmm.. I will try the new GA version.

I thought that it would add an extra node before removing one, as the `maxSurge` setting allows that.  
If I remember correctly I have taken the `maxUnavailable: 0` setting from some documentation page or Elastic forum, or something else. Now I remember that they were talking of a bug in ECK beta or even alpha version, where setting it to 1 or more would cause issues ( something like that )

```auto
maxSurge: 2 
maxUnavailable: 0

```

Thanks. I will post back with my results after trying the GA version and `maxUnavailable > 0`

---

<div class="post-metadata">

**Author:** ![JanKowalik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jankowalik/32/55905_2.png) [@JanKowalik](https://discuss.elastic.co/u/JanKowalik)\
**Post date:** [January 24, 2020, 4:37pm UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/26 "2020-01-24T16:37:01Z")

</div>

It seems to work fine now. I will open another question if I run into any issues.  
Thanks for your help.

---

<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:** [November 4, 2022, 7:39am UTC](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219/27 "2022-11-04T07:39:49Z")

</div>

Closed on November 4, 2022, 7:39am UTC



[Previous page](https://discuss.elastic.co/t/picking-up-a-configuration-file-change/214219.md?page=1)
