# Unable to install Elastic 8.1.x using Helm

**URL:** <https://discuss.elastic.co/t/unable-to-install-elastic-8-1-x-using-helm/310557>\
**Category:** Elasticsearch\
**Created:** [July 25, 2022, 3:59pm UTC](https://discuss.elastic.co/t/unable-to-install-elastic-8-1-x-using-helm/310557 "2022-07-25T15:59:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djarami726](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djarami726/32/108821_2.png) [@djarami726](https://discuss.elastic.co/u/djarami726)\
**Post date:** [July 25, 2022, 3:59pm UTC](https://discuss.elastic.co/t/unable-to-install-elastic-8-1-x-using-helm/310557/1 "2022-07-25T15:59:15Z")

</div>

I've spent days trying to get an 8.x working and it is all over the place. I'm using the examples in the helm-charts repo and read the documentation and I still can't come up with a working combination.

using this as a starting config and get a copy of it locally.

> <https://github.com/elastic/helm-charts/blob/main/elasticsearch/examples/minikube/values.yaml>

helm install elasticsearch elastic/elasticsearch -f ./values.yaml --set imageTag=8.1.0

I then get an exception:

````auto
java.lang.IllegalArgumentException: unknown setting [node.ml] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:563)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:151)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:56)
at org.elasticsearch.node.Node.(Node.java:447)
at org.elasticsearch.node.Node.(Node.java:284)```

I go through the docs with regards to node.roles with 8.x and I put this in the values.yaml:
`node.roles: [master]` and get this exception
java.lang.IllegalArgumentException: unknown setting [node.master] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

```at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:563)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:151)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:56)
at org.elasticsearch.node.Node.(Node.java:447)
at org.elasticsearch.node.Node.(Node.java:284)

````

Also tried the 7.x style and get the next exception  
roles:  
master: "true"  
java.lang.IllegalArgumentException: unknown setting [node.ml] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

````nohighlight
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:151)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:56)
at org.elasticsearch.node.Node.(Node.java:447)```

Then I tried this and got the same exception
roles:
master: "true"
ml: "false"
java.lang.IllegalArgumentException: unknown setting [node.ml] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
```at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:563)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:509)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:479)
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:449)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:151)
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:56)
at org.elasticsearch.node.Node.(Node.java:447)
at org.elasticsearch.node.Node.(Node.java:284)```

Is there a working scenario for helm charts with 8.x - please point me to a working example - not the documentation because that doesn't work. Documentation with examples is much more helpful especially for the not so experts or the ones starting up.
````

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2022, 1:30am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-8-1-x-using-helm/310557/2 "2022-07-26T01:30:59Z")

</div>

Welcome to our community! 😃

The helm charts don't support 8.X as yet unfortunately, please follow [Elastic 8.x charts? · Issue #1594 · elastic/helm-charts · GitHub](https://github.com/elastic/helm-charts/issues/1594) for future updates.

---

<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:** [August 23, 2022, 1:31am UTC](https://discuss.elastic.co/t/unable-to-install-elastic-8-1-x-using-helm/310557/3 "2022-08-23T01:31:38Z")

</div>

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