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

  • 创建YAML文件 rbac-config.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 

helm


初始化helm

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

helm


上一篇:A1075


下一篇:部署kubernetes-dashboard