Deploy App With Helm
First chart.
Overview
The first Helm chart shifts a team from raw kubectl apply against hand-edited YAML to packaged, versioned releases with a defined upgrade and rollback story. The patterns transfer across every service the team ships next.
- Templated manifests. Kubernetes manifests parameterised by a values file. The same chart serves dev, staging, and production.
- Versioned releases. Each install or upgrade is a release with a number.
helm rollbackreverts to any prior release in one command. - Per-environment values.
values-dev.yaml,values-staging.yaml,values-prod.yaml. The chart stays single-source; the differences live in values. - Dependencies and lifecycle. Charts depend on charts via
requirements.yaml;install,upgrade, androllbackare the three commands every operator memorises.
The approach
Three habits keep Helm-driven deployments boring (in the good way): chart lives next to the code, every install is idempotent, and post-deploy smoke tests run automatically.
- Chart in the service repo. The chart is part of the codebase, versioned with the application it deploys.
- Per-environment values files. Naming convention is enforced;
values-prod.yamlalways means the same thing across services. - helm upgrade --install. Idempotent install or upgrade. CI runs the same command for first deploy and every subsequent deploy.
- helm test for smoke. Post-deploy smoke tests fire automatically; failures roll the release back without operator action.
Why this compounds
The first chart takes effort; the next service uses the same chart structure with values changes only. Within a quarter the team has a deployment surface that reads identically across services.
- Release safety. Versioned releases plus one-command rollback shrink the time-to-recover when a bad deploy lands.
- Cross-service consistency. Standard chart structure means a new on-call learns one pattern, not one per service.
- Engineering velocity. Reusable charts replace per-service deployment boilerplate. New services ship faster.
- Year-one investment, year-two habit. The first chart is the heavy lift. By the third or fourth, the structure is reflexive.