Installing Helm & Kubernetes in Docker
Helm is simply a package manager for Kubernetes. It helps you manage Kubernetes applications — Helm Charts helps you define, install, and upgrade even the most complex Kubernetes application.
Follow the below steps to install Helm and Kubernetes in Docker:
Step 1: Installing Docker
- First, download the Docker.exe from the official site ( Click this link to directly download docker for the win64 version )
- Install the docker.exe file on your desktop.
- After installation is complete, restart your desktop.
Step 2: Enabling Kubernetes in Docker Application
Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. If you don’t understand Kubernetes, visit this article, it contains a basic introduction to Kubernetes. If you want to install Kubernetes, just follow the simple steps:
- Open Docker Application.
- Click Settings -> Kubernetes -> Enable Kubernetes
Step 3: Adding Helm package for Kubernetes:
There are two ways by which you can add Helm package:
Using Chocolatey Package Manager(Windows):
- First, ensure that you are using an administrative shell.
- Run Set-ExecutionPolicy Bypass -Scope Process on your command to check the execution policy
- Now to download choco on your system, copy the following code and paste it on your command shell-
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Now install helm from chocolatey, go to Command Shell or more commonly known as PowerShell and type:
choco install kubernetes-helm
The easiest way is to just copy the following code and paste it on your command shell :-
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_helm.sh chmod 700 get_helm.sh ./get_helm.sh