Interview Prep/Helm/Chart Structure & Metadata

What is the `kubeVersion` field used for?

IntermediateConceptChart Structure & Metadata
Answer

A SemVer constraint on the target cluster's Kubernetes version. Helm checks it before rendering and fails early instead of half-installing with unsupported APIs.

kubeVersion: ">=1.27.0-0"

The -0 suffix matters: managed clusters report versions like v1.30.4-eks-a737599, which SemVer treats as a pre-release, and a constraint without -0 excludes pre-releases. Failure looks like chart requires kubeVersion: >=1.27.0 which is incompatible with Kubernetes v1.30.4-eks-a737599.

All Helm questions Roadmap: Helm

More on Chart Structure & Metadata