k8s安装helm
# 1.解压
[root@master ]# tar -zxvf helm-v3.3.4-linux-amd64.tar.gz
linux-amd64/
linux-amd64/README.md
linux-amd64/LICENSE
linux-amd64/helm
1
2
3
4
5
2
3
4
5
# 2.配置
[root@master ]# ll
total 12460
-rw-r--r--. 1 root root 12752995 Oct 22 02:05 helm-v3.3.4-linux-amd64.tar.gz
drwxr-xr-x. 2 3434 3434 50 Sep 23 06:17 linux-amd64
[root@master ]# cd linux-amd64/
[root@master linux-amd64]# ll
total 38748
-rwxr-xr-x. 1 3434 3434 39661568 Sep 23 06:15 helm
-rw-r--r--. 1 3434 3434 11373 Sep 23 06:17 LICENSE
-rw-r--r--. 1 3434 3434 3308 Sep 23 06:17 README.md
[root@master linux-amd64]# mv helm /usr/local/bin/helm
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
# 3.验证
[root@master linux-amd64]# helm help
The Kubernetes package manager
Common actions for Helm:
- helm search: search for charts
1
2
3
4
5
6
2
3
4
5
6
# 4.启用官方 charts 仓库
[root@master linux-amd64]# helm repo add stable https://kubernetes-charts.storage.googleapis.com/
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
"stable" has been added to your repositories
1
2
3
4
2
3
4