helm安装

[root@k8s-master01 helm]# tar -zxvf helm-v2.17.0-linux-amd64.tar.gz 
linux-amd64/
linux-amd64/README.md
linux-amd64/LICENSE
linux-amd64/helm
linux-amd64/tiller
[root@k8s-master01 helm]# ll
total 24516
-rw-r--r-- 1 root root 25097357 May 30 16:16 helm-v2.17.0-linux-amd64.tar.gz
drwxr-xr-x 2 root root     4096 Oct 26  2020 linux-amd64
[root@k8s-master01 helm]# cd linux-amd64/
[root@k8s-master01 linux-amd64]# cp helm /usr/local/bin/
[root@k8s-master01 linux-amd64]# chmod a+x /usr/local/bin/helm 
[root@k8s-master01 linux-amd64]# 
[root@k8s-master01 helm]# vim rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system
kubectl create -f rbac-config.yaml
k8s集群中的部署
helm init --service-account tiller --skip-refresh
原文地址:https://www.cnblogs.com/tian880820/p/14828260.html