基于 Kubeadm 的 Kubernetes 离线安装包

网友投稿 740 2022-11-02

本站部分文章、图片属于网络上可搜索到的公开信息,均用于学习和交流用途,不能代表睿象云的观点、立场或意见。我们接受网民的监督,如发现任何违法内容或侵犯了您的权益,请第一时间联系小编邮箱jiasou666@gmail.com 处理。

基于 Kubeadm 的 Kubernetes 离线安装包

Kubeadm 是个不错的工具,设计原意应该是能够快速部署体现较新特性的 Kubernetes 集群,因为工作原因,需要频繁的搭建 Kubernetes 集群,这种在线安装的方式不管是效率还是对互联网的依赖都是不能满足要求的,因此编写了这个 Ansible Playbook,用于快速部署。

用法很简单,下载压缩包,填写主机信息,大概修改一下启动参数,使用 Ansible 运行即可。勉强可算开箱即用了。

Usage

ansible-playbook -i hosts/hosts.sample -u root cluster.yml

Download and extract bin package from Releases tabWrite down ip in the hosts file, here is a sample in hosts/hosts.sample.Change the variables in group_vars/all.Run the playbook.You can find init/join script in /usr/local/bin.Configuration files are stored in Master node’s /etc/kubernetesEnjoy it.

Features

Offline.Support for different lvm configuration in CentOS.Calico plugins included.

欢迎转发,欢迎 Fork。

上一篇:软件测试培训之接口自动化测试框架9项必备功能
下一篇:软件测试培训之前端单元测试是什么
相关文章

 发表评论

暂时没有评论,来抢沙发吧~