Deploy Helm - YuntechNet/Kubernetes-Deployment GitHub Wiki

Install Helm (from script)

Using the following command to automatically grab the latest version of the Helm client.

curl https://raw.githubusercontent.com/helm/helm/95775d0c60804b3d3674510e1f57a30ca8074ddd/scripts/get | bash

Install Tiller (With Role-based Access Control)

Create a service account with cluster-admin role

  1. Create a file called rbac-config.yaml, and add the following config to the file.
# helm-rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system
  1. Create the account using the following command.
kubectl create -f rbac-config.yaml

Deploy Tiller

Execute the following command to deploy the Tiller(the Helm Server).

helm init --service-account tiller

Reference

Site Link
Helm Quick Guide https://docs.helm.sh/