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/
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。