Setting Up Helm v2 on Windows

Install Helm on Windows

choco install kubernetes-helm
choco install kubernetes-helm and its output

Setting Up Helm on Kubernetes

  • airwave-tiller = this is where we will install the tiller server service
  • airwave-deploy = this is where we will be deploying apps using helm
kubectl apply -f   https://raw.githubusercontent.com/airwavetechio/helm/master/airwave-deploy-ns.json
kubectl apply -f https://raw.githubusercontent.com/airwavetechio/helm/master/airwave-tiller-ns.json
https://raw.githubusercontent.com/airwavetechio/helm/master/rbac-tiller-role.yml
kubectl apply -f https://raw.githubusercontent.com/airwavetechio/helm/master/rbac-tiller-role.yml
kubectl get ns
kubectl get sa
kubectl get sa -n airwave-tiller
helm init --service-account tiller  --tiller-namespace airwave-tiller --history-max 200
kubectl get pods -n airwave-tiller to double-check your work

You can now deploy applications using Helm to your airwave-tiller namespace.

Here we go!
helm repo update
helm install stable/mysql --namespace airwave-tiller --tiller-namespace airwave-tiller
Examples showing multiple installation attempts, and the RBAC taking effect since my kubectl context is set to the “default” namespace
kubectl get pods -n airwave-tiller

Deploy to another namespace

helm install stable/mysql --namespace airwave-deploy --tiller-namespace airwave-tiller
Failed
kubectl apply -f https://raw.githubusercontent.com/airwavetechio/helm/master/rbac-deploy-role.yml
helm install stable/mysql --namespace airwave-deploy --tiller-namespace airwave-tiller
You can see it deploying now

Clean Up

helm ls --tiller-namespace airwave-tiller
helm delete <name> --tiller-namespace airwave-tiller
kubectl delete -f https://raw.githubusercontent.com/airwavetechio/helm/master/rbac-deploy-role.yml
kubectl delete -f https://raw.githubusercontent.com/airwavetechio/helm/master/rbac-tiller-role.yml
kubectl delete -f https://raw.githubusercontent.com/airwavetechio/helm/master/airwave-tiller-ns.json
kubectl delete -f https://raw.githubusercontent.com/airwavetechio/helm/master/airwave-deploy-ns.json
choco uninstall kubernetes-helm

--

--

--

Helping you build the hardest parts of your Stack

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

WITH Newsletter — February 2022

Create your own CocoaPod library

Comparison: Inheritance & Polymorphism

Transform Mode | Basics of Mutate

Help 1: How to Ask for It

WordPress on AWS with High Availability

How To Efficiently Download Remote Directories and Files to local machine?

Learning C++: The STL and the deque Class

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
AirwaveTech

AirwaveTech

Helping you build the hardest parts of your Stack

More from Medium

Deploy Microservices With Helm Operators

Understanding Kubernetes deployments with Helm

Deploy Socket.io to Kubernetes - Part 2: Infrastructure

Debugging namespace deletion issue in Kubernetes