# Change version and custom images in ECK

**URL:** <https://discuss.elastic.co/t/change-version-and-custom-images-in-eck/205306>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [October 25, 2019, 5:26pm UTC](https://discuss.elastic.co/t/change-version-and-custom-images-in-eck/205306 "2019-10-25T17:26:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoadingZhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loadingzhang/32/22391_2.png) [@LoadingZhang](https://discuss.elastic.co/u/LoadingZhang)\
**Post date:** [October 25, 2019, 5:26pm UTC](https://discuss.elastic.co/t/change-version-and-custom-images-in-eck/205306/1 "2019-10-25T17:26:20Z")

</div>

Now I set configuration as below:

```auto
spec:
  version: 7.4.0
  image: my_custom_image:7.4.0

```

What would happen if I change version to 7.4.1 but image not?  
And what would happen if change image tag to 7.4.1 but version not?

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [October 28, 2019, 5:41am UTC](https://discuss.elastic.co/t/change-version-and-custom-images-in-eck/205306/2 "2019-10-28T05:41:32Z")

</div>

Hey @LoadingZhang, that's a good question.

The `version` field indicates which version of Elasticsearch ECK should operate. For example if you specify `6.8` but are actually running `7.2`, your cluster probably won't work since ECK will setup some configuration and API calls for Elasticsearch version 6.8. If you omit the `image` field, ECK automatically fills it with the official image matching the `version` field.

The `image` field represents the Docker container images used for Elasticsearch. ECK does not attempt to parse the version from its value. That's why the `version` field is mandatory.

In short: please make sure the Elasticsearch version of your custom Docker image matches what you specified in the `version` field, otherwise ECK may not behave as expected.

---

<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:31am UTC](https://discuss.elastic.co/t/change-version-and-custom-images-in-eck/205306/3 "2022-11-04T07:31:00Z")

</div>


