# Helm complains about incompatible kubernetes version

**URL:** <https://discuss.kubernetes.io/t/helm-complains-about-incompatible-kubernetes-version/17538>\
**Category:** microk8s\
**Tags:** helm\
**Created:** [September 25, 2021, 7:11am UTC](https://discuss.kubernetes.io/t/helm-complains-about-incompatible-kubernetes-version/17538 "2021-09-25T07:11:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aspro-at](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/aspro-at/32/8628_2.png) [@aspro-at](https://discuss.kubernetes.io/u/aspro-at)\
**Post date:** [September 25, 2021, 7:11am UTC](https://discuss.kubernetes.io/t/helm-complains-about-incompatible-kubernetes-version/17538/1 "2021-09-25T07:11:23Z")

</div>

Whenever I try `helm upgrade longhorn longhorn/longhorn --dry-run` I end up with the following error.

> Error: UPGRADE FAILED: chart requires kubeVersion: \>=v1.18.0 which is incompatible with Kubernetes v1.21.5-3+e8b6c7dca47a08

This looks odd since 1.21.5-3… is definitely newer than 1.18.0. Does anyone know a workaround or a fix?  
Thanks for your help!

---

<div class="post-metadata">

**Author:** ![balchua1](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/balchua1/32/5372_2.png) [@balchua1](https://discuss.kubernetes.io/u/balchua1)\
**Post date:** [September 25, 2021, 12:00pm UTC](https://discuss.kubernetes.io/t/helm-complains-about-incompatible-kubernetes-version/17538/2 "2021-09-25T12:00:17Z")

</div>

Looking at the error, do u have the latest longhorn chart?  
This [charts/Chart.yaml at master · longhorn/charts · GitHub](https://github.com/longhorn/charts/blob/master/charts/longhorn/Chart.yaml) shows its version `1.18.0-0` which will pass the semver comparison to `1.21.5-3...`
