其他分享
首页 > 其他分享> > helm

helm

作者:互联网

部署

官方文档: https://helm.sh/docs/intro/install/

中文文档:

https://whmzsu.github.io/helm-doc-zh-cn/

https://www.hellodemos.com/hello-helm-primary/helm-primary-quickstart.html


安装软件包

ntpdate ntp1.aliyun.com
wget https://get.helm.sh/helm-v2.16.2-linux-amd64.tar.gz
tar -zxvf helm-v2.16.2-linux-amd64.tar.gz
cd linux-amd64/
cp helm /usr/local/bin/


创建admin账户tiller

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 


初始化helm

helm init --service-account tiller --skip-refresh


标签:kind,name,rbac,https,helm,tiller
来源: https://www.cnblogs.com/cjwnb/p/12526503.html