Ravindra BagaleCourses & study guides मराठी

DevOps

Chapter 85: Helm for Kubernetes

Friends, today we learn Helm — the package manager for Kubernetes. Until now you wrote YAML by hand. Helm wraps that YAML into a chart, fills values, and installs, upgrades or rolls back with one command. Same idea as apt for Ubuntu, but for Deployments and Services. Keep kubectl ready; Helm talks to the same cluster.

What you will learn in this chapter

  • Why teams use Helm instead of raw YAML folders
  • Install Helm and talk to your cluster
  • Chart layout: Chart.yaml, values.yaml, templates
  • helm install, upgrade, rollback and uninstall
  • helm template and --dry-run before you touch the cluster
  • Repositories, dependencies and packaging a chart
  • A small lab you can run on kind or Minikube

Where this sits. Chapters 15 and 59–65 taught Kubernetes objects. Chapter 76 project 76.2 packaged a chart as a project. This chapter teaches Helm itself, step by step. Argo CD (next teaching chapter) often deploys Helm charts from Git.

Concepts in this chapter

  1. 85.1Why Helm — YAML folders versus one chart
  2. 85.2Install Helm and check the cluster
  3. 85.3Chart layout — Chart.yaml, values, templates
  4. 85.4Install, upgrade, rollback, uninstall
  5. 85.5Dry-run and helm template — see YAML before apply
  6. 85.6Values files, --set and --set-string
  7. 85.7Repositories and popular charts
  8. 85.8Package, dependency and helmfile awareness
  9. 85.9Troubleshooting common Helm errors
  10. 85.10Lab — chart on kind, upgrade and rollback
  11. 85.11Comparison, interview questions and revision

The chapter recap is at the end of the last concept page.