Install helm and tiller #
We can deploy applications into GKE cluster using helm charts. Following guide shows how to configure helm and tiller in your gke cluster.
Install helm #
Install helm where you run your kubectl commands.
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.12.2-linux-amd64.tar.gz
tar -zxvf helm-v2.12.2-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm
Install tiller #
Prerequsite: Connect to your GKE cluster.
kubectl create serviceaccount tiller --namespace kube-system
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --wait
