首页 > 其他 > 详细

helm

时间:2020-03-19 19:13:32      阅读:49      评论:0      收藏:0      [点我收藏+]

部署

官方文档: 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 init --service-account tiller --skip-refresh

技术分享图片


helm

原文:https://www.cnblogs.com/cjwnb/p/12526503.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!