Helm之于Kubernetes比如yum之于Red Hat Enterprise Linux,或者apt-get之于Ubuntu。git
Helm是由helm CLI和Tiller组成,是典型的Client/Server应用。helm运行于客户端,提供命令行界面;Tiller应用运行于Kubernetes内部。github
在Jerry以前的文章[](https://www.toutiao.com/i6593...,解压后把执行文件拷贝到环境变量的作法。api
其实还有另一种全自动的作法,使用安装脚本自动安装。app
1. 自动下载安装脚本curl
curl https://raw.githubusercontent... > get_helm.shide
打开脚本,能够看到helm安装的环境变量HELM_INSTALL_DIR为/usr/local/bin:this
2. chmod 700 get_helm.shgoogle
./get_helm.sh:url
3. 执行helm init, 看到Happy Helming消息,说明安装成功。spa
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://kubernetes-charts.sto...
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://docs.helm.sh/using_he...
Happy Helming!
要获取更多Jerry的原创文章,请关注公众号"汪子熙":