Book Image

Learn Helm

By : Andrew Block, Austin Dewey
Book Image

Learn Helm

By: Andrew Block, Austin Dewey

Overview of this book

Containerization is currently known to be one of the best ways to implement DevOps. While Docker introduced containers and changed the DevOps era, Google developed an extensive container orchestration system, Kubernetes, which is now considered the frontrunner in container orchestration. With the help of this book, you’ll explore the efficiency of managing applications running on Kubernetes using Helm. Starting with a short introduction to Helm and how it can benefit the entire container environment, you’ll then delve into the architectural aspects, in addition to learning about Helm charts and its use cases. You’ll understand how to write Helm charts in order to automate application deployment on Kubernetes. Focused on providing enterprise-ready patterns relating to Helm and automation, the book covers best practices for application development, delivery, and lifecycle management with Helm. By the end of this Kubernetes book, you will have learned how to leverage Helm to develop an enterprise pattern for application delivery.
Table of Contents (15 chapters)
Section 1: Introduction and Setup
Section 2: Helm Chart Development
Section 3: Adanced Deployment Patterns
Other Books You May Enjoy

Chapter 2: Preparing a Kubernetes and Helm Environment

Here are some answers to the questions presented in this chapter:

  1. Windows and Mac users can install Helm using the Chocolatey or Homebrew package managers, respectively. All users (Windows, Mac, and Linux) can also install Helm from its GitHub releases page at
  2. Helm authenticates using the local kubeconfig file.
  3. Kubernetes roles provide authorization. An administrator can manage these privileges by creating a RoleBinding, which binds a role to a user or group.
  4. The helm repo add command is used to locally configure a Helm chart repository. It is a requirement to install the charts contained within that repository.
  5. The three XDG environment variables used by Helm are XDG_CACHE_HOME, XDG_CONFIG_HOME, and XDG_DATA_HOME. XDG_CACHE_HOME is used to assign the location for cached files (which includes downloaded charts from upstream chart repositories). XDG_CONFIG_HOME is used...