This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| k8s:helm [2019-12-08] – created dcai | k8s:helm [2020-04-19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ## deploy with helm 2 | ||
| + | < | ||
| + | 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: | ||
| + | |||
| + | echo " | ||
| + | # initialized helm within the tiller service account | ||
| + | helm init --service-account tiller | ||
| + | # updates the repos for Helm repo integration | ||
| + | helm repo update | ||
| + | |||
| + | echo " | ||
| + | # verify that helm is installed in the cluster | ||
| + | kubectl get deploy,svc tiller-deploy -n kube-system | ||
| + | |||
| + | |||
| + | </ | ||