master01
$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.shAdd Stable Helm Repo
helm repo add stable https://kubernetes-charts.storage.googleapis.com/master01
kubectl create -f helm/helm-rbac.yaml
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
sudo snap install helm --classic
helm init --upgrade --history-max=200
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'Install the helm cli on the remaining Master nodes. This allows us to interactive with Helm even if the first Master node is unavailable.
master02
sudo snap install helm --classic
helm init --upgrade --history-max=200master03
sudo snap install helm --classic
helm init --upgrade --history-max=200