DevOpsLesson
DevOpsLesson

Free, comprehensive DevOps tutorials and learning roadmaps. Master Docker, Kubernetes, CI/CD, and more.

Stay Updated

Get notified about new tutorials and features.

Tutorials

  • What is DevOps?
  • Docker Tutorial
  • Terraform Tutorial
  • CI/CD Pipeline
  • All Tutorials

Roadmaps

  • DevOps Engineer
  • Cloud Engineer
  • SRE Path
  • All Roadmaps

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 DevOpsLesson. All rights reserved.

DOCKERKUBERNETESTERRAFORMAWSCI/CDLINUXGITDEVOPS ROADMAPCLOUD ROADMAPSRE ROADMAPGIT CHEATSHEETDOCKER CHEATSHEETK8S CHEATSHEETTF CHEATSHEETLINUX CHEATSHEETDOCKERFILE LINTERYAML VALIDATORCRON PARSERREGEX TESTER

Kubernetes Tutorial

Introduction to Kubernetes
Kubernetes Architecture
Installing Kubernetes
kubectl Basics
Kubernetes Pods
Kubernetes Deployments
Kubernetes Services
ConfigMaps and Secrets
Kubernetes Storage
Kubernetes Namespaces
Kubernetes Resource Management
Helm for Kubernetes
Kubernetes Monitoring

Helm Values, Upgrades, and Rollbacks

PreviousPrev
Next

Override chart values, understand values precedence, and manage release upgrades and rollbacks safely with Helm.

Default values.yaml

Most charts ship with a values.yaml file containing default settings.

Override with --set

helm install myapp ./mychart --set image.tag=1.2.3

Override with a Custom Values File

helm install myapp ./mychart -f custom-values.yaml

Values Hierarchy

A common mental model is:

  1. chart defaults in values.yaml
  2. values file overrides with -f
  3. command-line overrides with --set

Upgrade or Install

helm upgrade --install myapp ./mychart

This is popular in automation because it works whether the release already exists or not.

Upgrade a Release

helm upgrade myapp ./mychart -f custom-values.yaml --atomic

Why --atomic Helps

If the upgrade fails, Helm rolls back automatically, reducing half-complete deployments.

Upgrade vs Reinstall

An upgrade preserves release history and intent. Reinstalling from scratch can be more disruptive and loses that continuity.

Roll Back a Release

helm rollback myapp 1

Why Values Matter

Values let one chart serve many environments without duplicating templates.

Exercise

Precedence

Which override method typically has higher precedence than chart defaults?

Exercise

Atomic Benefit

What is the benefit of `helm upgrade --atomic`?

PreviousPrev
Next

Continue Learning

Helm for Kubernetes

Understand Helm charts, releases, and repositories so you can package and install Kubernetes applications more efficiently.

15 min·Easy

Installing and Using Helm

Install Helm on macOS, Linux, or Windows and learn the basic commands for repositories, releases, and uninstalling charts.

18 min·Easy

Understanding Helm Charts

Explore chart structure, template syntax, built-in objects, and commands that help you render and lint Helm templates.

22 min·Easy

Explore Related Topics

Do

Docker Tutorials

Build the containers Kubernetes orchestrates

Te

Terraform Tutorials

Provision Kubernetes clusters as code

Try the Tool

YAML Validator

Validate Kubernetes manifests and any YAML files instantly.

On This Page

Default `values.yaml`Override with `--set`Override with a Custom Values FileValues HierarchyUpgrade or InstallUpgrade a ReleaseWhy `--atomic` HelpsUpgrade vs ReinstallRoll Back a ReleaseWhy Values Matter