Install Helm 2.11.0

Helm is a Kubernetes application manager that helps you create, version, share and publish your artifacts. You can develop templates of your YAML files and during installation of a new program by parameters as variables with ease. Helm is developed by the community and google like Google and Microsoft.

Helm Client
It is the CLI where repositories are needed, we develop the graphics locally and interact with the Tiller server. Written in Go, Use the gRPC protocol to interact with the Tiller server.

Tiller Server
It is the server that interacts with a Kubernetes API through the commands executed by the Helm Client. It is also written in Go.


Install Helm!

Setp 1 – Download do Helm 2.11.0

tar -xvf helm-v2.11.0-linux-amd64.tar.gz
ln -s /opt/linux-amd64/helm /usr/bin/

Setep 2 – Starting Helm in the /etc/helm directory

helm init --home /etc/helm

When you want to update Tiller, just run

helm init --home /etc/helm --upgrade

Step 3 – add the appropriate Kubernetes credentials:

kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'

Step 4 – install stable/mysql

helm --home /etc/helm/ install stable/mysql
NAME:   plucking-rottweiler
LAST DEPLOYED: Wed Oct 17 18:16:37 2018
NAMESPACE: default
Install Helm 2.11.0

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

%d blogueiros gostam disto: