Helm

Table of Contents

Helm

Tags: #fieldnotes/k8s #fieldnotes/k8s/helm #fieldnotes/gcp/compute/gke

Install helm locally

brew install kuberetes-helm

List repos

$ helm repo list

`NAME             	URL
kubernetes-charts	http://storage.googleapis.com/kubernetes-charts
stable           	https://kubernetes-charts.storage.googleapis.com

` Add repos

helm repo add stable https://kubernetes-charts.storage.googleapis.com

Update to the latest repo listings

helm repo update

Helm requires “tiller” to be installed in your cluster, set this up with

 helm init

You may need to upgrade

if your local helm is newer than the installed tiller you’ll get an error Error: client version is incompatible so you’ll need to upgrade helm init —upgrade

init is installing a pod so it may take a minute

find a package helm search jenkins

Install a package helm install --name jenkins stable/jenkins

verify your service is running. look for the external ip kubectl get services

Clean up

helm delete jenkins

gcloud container clusters delete jenkins-cluster