Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
k8s:helm [2019-12-08] dcaik8s:helm [2020-04-19] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +## deploy with helm 2
  
 +<code>
 +gcloud container clusters create my-cluster
 +gcloud container clusters get-credentials my-cluster
 +kubectl create serviceaccount --namespace kube-system tiller
 +# create a cluster role binding for tiller
 +kubectl create clusterrolebinding tiller \
 +    --clusterrole cluster-admin \
 +    --serviceaccount=kube-system:tiller
 +
 +echo "initialize helm"
 +# initialized helm within the tiller service account
 +helm init --service-account tiller
 +# updates the repos for Helm repo integration
 +helm repo update
 +
 +echo "verify helm"
 +# verify that helm is installed in the cluster
 +kubectl get deploy,svc tiller-deploy -n kube-system
 +
 +
 +</code>