K8S中helm的安装

1、下载helm

[root@master01 ~]# wget https://pan.cnbugs.com/helm/helm-v2.17.0-linux-amd64.tar.gz

2、解压helm

[root@master01 ~]# tar xf helm-v2.17.0-linux-amd64.tar.gz 

3、移动helm、tiller二进制可执行文件到bin中

[root@master01 ~]# cd linux-amd64/
[root@master01 linux-amd64]# ls
helm  LICENSE  README.md  tiller
[root@master01 linux-amd64]# mv helm tiller /opt/k8s/bin/

4、初始化helm

[root@master01 ~]# helm init
Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/cache/archive 
Creating /root/.helm/repository/repositories.yaml 
Adding stable repo with URL: https://charts.helm.sh/stable 


Adding local repo with URL: http://127.0.0.1:8879/charts 
$HELM_HOME has been configured at /root/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://v2.helm.sh/docs/securing_installation/

发表评论

后才能评论