分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 教程案例

CentOS7.5Kubernets(k8s)1.12.2之安装Helm(二)

发布时间:2023-09-06 02:20责任编辑:白小东关键词:暂无标签
K8s安装Helm
注:charts仓库如果用google的必须设置代理(比如squid),不需要的话可以用阿里的charts仓库
1、下载helm
Helm命令下载地址:https://github.com/helm/helm/releases
链接:https://pan.baidu.com/s/15Je7HwUZ9u0JLo6PLNpUsw
提取码:qah9
Helm所需镜像包地址
链接:https://pan.baidu.com/s/1xtrD1rOGFjNgHcg6SKrDFw
提取码:iymn
#tar -zxvf helm-v2.10.0-linux-amd64.tar.gz
#cd linux-amd64/
#mv helm /usr/bin/
2、创建tiller权限 ?
#kubectl create serviceaccount --namespace kube-system tiller
#kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
#kubectl patch deploy --namespace kube-system tiller-deploy -p ‘{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}‘
3、设置charts仓库代理(看需求不需要×××的可以配置阿里云的charts仓库(版本比较旧))
#export HTTPS_PROXY=‘代理地址‘
#export NO_PROXY=‘172.168.1.0/24,127.0.0.0/8‘
4、Helm初始化
#helm init
5、查看版本
#helm version

CentOS7.5Kubernets(k8s)1.12.2之安装Helm(二)

原文地址:http://blog.51cto.com/12749569/2311087

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved