Helm Package Manager

Kubernetes Packages

To help with the next portion of the lab, you will install Helm. Helm is a package management system for kubernetes. This will help you install some network components that would be more complicated to install manually.

For more information on Helm you can read: https://helm.sh/.

Step 1 - Download/Install Helm binary

cd ~
wget https://svs-rtp-dmz-files.ciscolive.com/ltraci-2967/helm-v2.16.1-linux-amd64.tar.gz

Once it has downloaded run the following commands to extract the binaries and move them.

cd ~
tar xf  ~/helm-v2.16.1-linux-amd64.tar.gz
mv l*/helm /usr/local/bin/.

Step 2 - Initialize Helm

Now you have to initialize Helm.

helm init

Now you have to initialize the upgrade process.

helm init --upgrade

Step 3 - Give credentials for Helm to run

kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule \
   --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy \
   -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'

After this Helm is ready to install the applications we need.