Skip to content
Related Articles

Related Articles

Improve Article

Installing Helm & Kubernetes in Docker

  • Difficulty Level : Easy
  • Last Updated : 14 Jun, 2021

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.

 

Implementation:

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.

Installing Docker Desktop

  • After installation is complete, restart your desktop.

Installation Complete

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'))

This may differ from your command shell, but the process is same. 

  • Now install helm from chocolatey, go to Command Shell or more commonly known as PowerShell and type:
choco install kubernetes-helm
PowerShell

Windows PowerShell running choco install kubernetes-helm

Using Script:

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

LocalHost prompt window after running the code

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :