Skip to content

Helm deployment method

The Helm deployment method is a strategy for managing Kubernetes applications using Helm, often referred to as the package manager for Kubernetes^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md].

Core Concepts

Helm facilitates the deployment and management of applications through the use of charts. These charts contain pre-configured Kubernetes resources that can be deployed with a single command^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md]. This method streamlines the installation process compared to manually applying individual YAML files.

Usage

The deployment typically involves the helm upgrade and --install commands, which ensure that a release is installed if it does not exist or upgraded if it does^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md].

A key feature of this method is the ability to specify a repository directly via the --repo flag^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md]. This allows the user to pull charts from remote sources without needing to add them to the local repository cache first^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md]. Additionally, it supports infrastructure automation by creating necessary namespaces dynamically using the --create-namespace flag^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md].

Example

The following command demonstrates how to deploy the NGINX Ingress Controller using this method^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md]:

[Helm](<./helm.md>) upgrade --install ingress-nginx ingress-nginx \
  --repo https://kubernetes.github.io/ingress-nginx \
  --namespace ingress-nginx --create-namespace

Sources

^[400-devops__06-Kubernetes__k8s-ingress-controller-docker-desktop__README.md]