监控数据的可视化分析神器 Grafana 的告警实践
740
2022-11-02
基于 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。
发表评论
暂时没有评论,来抢沙发吧~