You will need kubectl
to be able to finish this step, follow the instructions to install it here.
Change HELM_OS
to match your running OS before running the following commands
export HELM_VERSION=v2.16.0export HELM_OS=darwin # windows # linuxwget -q https://get.helm.sh/helm-${HELM_VERSION}-${HELM_OS}-amd64.tar.gz -O - | tar -xzO ${HELM_OS}-amd64/helm > /usr/local/bin/helm && \chmod +x /usr/local/bin/helm
cat <<EOF | kubectl apply -f -apiVersion: v1kind: ServiceAccountmetadata:name: tillernamespace: kube-system---apiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRoleBindingmetadata:name: tillerroleRef:apiGroup: rbac.authorization.k8s.iokind: ClusterRolename: cluster-adminsubjects:- kind: ServiceAccountname: tillernamespace: kube-systemEOFhelm init --service-account=tillerhelm repo update
kubectl patch deployment tiller-deploy --namespace=kube-system --type=json --patch='[{"op": "add", "path": "/spec/template/spec/containers/0/command", "value": ["/tiller", "--listen=localhost:44134"]}]'
We can do so by checking the client and server versions.
helm version --short
Wait for tiller to get ready.
You will know that it is ready when the previous command returns both the client and server versions.