博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用脚本在Linux服务器上自动安装Kubernetes的包管理器Helm
阅读量:7218 次
发布时间:2019-06-29

本文共 1130 字,大约阅读时间需要 3 分钟。

Helm之于Kubernetes好比yum之于Red Hat Enterprise Linux,或者apt-get之于Ubuntu。

Helm是由helm CLI和Tiller组成,是典型的Client/Server应用。helm运行于客户端,提供命令行界面;Tiller应用运行于Kubernetes内部。

在Jerry之前的文章[](里曾经介绍过手动下载Helm安装包,解压后把执行文件拷贝到环境变量的做法。

其实还有另外一种全自动的做法,使用安装脚本自动安装。

1. 自动下载安装脚本

curl > get_helm.sh

打开脚本,可以看到helm安装的环境变量HELM_INSTALL_DIR为/usr/local/bin:

2. chmod 700 get_helm.sh

./get_helm.sh:

3. 执行helm init, 看到Happy Helming消息,说明安装成功。

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:

Adding local repo with URL:

$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:

Happy Helming!

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

转载地址:http://lhxym.baihongyu.com/

你可能感兴趣的文章
CSS div阴影效果
查看>>
显示所有SAP图标的ABAP代码
查看>>
group by 与 order by 一起使用的时候
查看>>
HTML+CSS
查看>>
链接服务器创建
查看>>
用Vue的方式实现复选框
查看>>
mac下安装xampp、及其之上的组件安装
查看>>
C++内存对齐总结
查看>>
Web设计的速查卡(转)
查看>>
数据结构之哈夫曼树
查看>>
hdu1038
查看>>
CentOS 6.4下Zabbix的安装配置
查看>>
前端开发注意的问题 ,浏览器兼容性
查看>>
centos和redhat下 uwsgi配置
查看>>
Markdown 学习笔记
查看>>
vue-element-admin 多层路由问题
查看>>
Css问题 margin float 文档流 背景图底部充满
查看>>
JS match() 方法 使用
查看>>
关于shopee平台接口(php)对接示例
查看>>
BNU OJ 51000 BQG's Random String
查看>>