Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation Helm of CentOS7.5Kubernets (k8s) 1.12.2 (2)

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Install Helm on K8s

Note: if the charts warehouse uses google, you must set up a proxy (such as squid). If you don't need it, you can use Ali's charts warehouse.

1. Download helm

Download address of Helm command: https://github.com/helm/helm/releases

Link: https://pan.baidu.com/s/15Je7HwUZ9u0JLo6PLNpUsw

Extraction code: qah9

Image packet address required by Helm

Link: https://pan.baidu.com/s/1xtrD1rOGFjNgHcg6SKrDFw

Extraction code: iymn

# tar-zxvf helm-v2.10.0-linux-amd64.tar.gz

# cd linux-amd64/

# mv helm / usr/bin/

2. Create tiller permissions

# 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. Set up the charts warehouse agent (see the charts repository of Aliyun which does not need × × (older version))

# export HTTPS_PROXY=' proxy address'

# export NO_PROXY='172.168.1.0/24127.0.0.0/8'

4. Helm initialization

# helm init

5. View the version

# helm version

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report