Helm charts and releases
A package is not a running application
Helm packages Kubernetes configuration as a chart. A chart contains metadata, default inputs and templates. Rendering combines inputs with the templates to produce Kubernetes objects. Installing creates a named release, a record of a particular chart installation in a namespace. A second release of the same chart can have different values. Helm submits resources; Kubernetes controllers still reconcile them. Helm is not a continuous reconciler by itself.
chart + values → rendered manifests → API submission → controllers (render only) (install/upgrade)Read the chart layout
The local catalog chart uses API version v2, which is the chart format used by modern Helm, not the Helm executable major version. The version identifies the chart package; appVersion describes the application and does not automatically choose the container image. The templates directory holds the Deployment and Service templates. A dependency is another chart declared in metadata; this fixture intentionally has none.
apiVersion: v2name: catalogversion: 0.1.0appVersion: "1.0.0"type: applicationdescription: Offline ByteMind catalog exampleValues are inputs, not patches to a live object
The defaults set one replica and an empty message. The template uses .Values.replicaCount for the integer and .Release.Name for names. Its required function rejects an empty message during rendering. The development values supply a message and two replicas; staging supplies three. With ordinary install or local render, later -f files override earlier files and --set takes precedence over these files for the same key. Upgrade has additional reuse/reset behavior covered next.
helm template demo ./catalog --namespace helm-study \ -f dev.yaml -f staging.yaml --set replicaCount=4Predict the output
The preceding command should produce a Deployment named demo-catalog with four desired replicas, a staging message, and a Service selecting app=catalog and instance=demo. The namespace value is used by these templates; rendering does not create that namespace. The actual image is fictional and cannot be deployed. Compare a second release named preview: resource names and instance labels change while the shared chart stays the same.
replicas: 4# Illustrative fragment, not a complete manifestDistribution and trust
A traditional chart repository serves packaged charts and an index; OCI registries can also store charts, separately from application images. A chart version is not a guarantee of trusted contents. Review package provenance, dependencies and rendered resources, and pin a version and verified artifact identity. No remote chart is needed for this lesson. In a separate approved environment the following fictional OCI example illustrates retrieval only; do not run it.
helm pull oci://registry.example.invalid/charts/catalog --version 0.1.0Practice and next step
Read the chart and both values files in lab-fixtures/helm-intro. Predict the replica count and message for each file order, then explain the difference between chart version, application version and release name. Next, learn how a release changes over time.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Helm charts and releases — knowledge check
Apply the lesson concepts to the original offline chart and release scenarios.
Which item records a particular chart installation?
What does appVersion directly describe?
Which replica count wins in the combined example?
What changes with a second release named preview?
What does helm template create in a cluster by default?