Skip to content
Latchkey

Helm "chart requires kubeVersion: ... which is incompatible" in CI

A chart declares a kubeVersion range in Chart.yaml, and the target cluster’s Kubernetes version falls outside it. Helm refuses to install rather than render manifests the cluster may not support.

What this error means

helm install/upgrade/template fails with Error: chart requires kubeVersion: >=1.27.0-0 which is incompatible with Kubernetes v1.25.x. It is deterministic - the cluster version genuinely does not meet the chart’s constraint.

helm output
Error: chart requires kubeVersion: >=1.27.0-0 which is incompatible with
Kubernetes v1.25.9

Common causes

Cluster older than the chart requires

The chart needs APIs/features from a newer Kubernetes than the target cluster runs, so its kubeVersion floor is not met.

Detected version differs from intent

Helm reads the live cluster version; if CI points at an older cluster than expected, the constraint fails even when a newer cluster would pass.

How to fix it

Check cluster vs chart requirement

Terminal
kubectl version --output=yaml | grep -A2 serverVersion
grep -i kubeVersion ./chart/Chart.yaml

Use a compatible cluster or chart version

  1. Upgrade the cluster to satisfy the chart’s kubeVersion, or target a cluster that already does.
  2. Or pin an older chart version whose kubeVersion your cluster meets.
  3. For helm template offline, pass --kube-version to render against an intended version.
Terminal
helm template my-release ./chart --kube-version 1.27.0

How to prevent it

  • Keep clusters and charts on compatible Kubernetes versions.
  • Pin chart versions tested against your cluster version.
  • Assert the target cluster version early in the pipeline.

Frequently asked questions

What causes ""chart requires kubeVersion""?
The chart needs APIs/features from a newer Kubernetes than the target cluster runs, so its kubeVersion floor is not met.
How do I fix "chart requires kubeVersion"?
Check cluster vs chart requirement

Related guides

References

Latchkey auto-heals failures like this one - detected, fixed, and retried without you. Start free → 30-day trial · No credit card