Helm

Helm is the package manager for Kubernetes - A way to find, share, and use software built for Kubernetes.

Install the binary Helm on your local env.

dla helm-install

Use Helm with CLI commands.

helm version
helm ls

Deploy a Hello world chart.

helm install $DLAHOME/etc/k8s/helm/hello -n hello
helm ls
helm status hello
kubectl get po
kubectl get svc

Browse the hello page if you run on minikube.

minikube service hello

Delete your chart.

helm delete hello --purge

Options

In case of docker pull timeout, use --timeout=.

helm install --dry-run
helm template

Helm Repository

cd $DLAHOME/etc/helm
helm package .
helm serve --repo-path .
helm repo rm datalayer
helm repo add datalayer http://helm-charts.datalayer.io
helm reset

Upgrade

# --wait
helm init --canary-image --upgrade
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
helm init --service-account tiller --upgrade
kubectl rollout status -w deployment/tiller-deploy --namespace=kube-system
helm repo list
helm ls -a

Alternatives

results matching ""

    No results matching ""