使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
Clone or download
EamonZhang and gjmzj Update 99.clean.yml
清理集群环境时,如果docker 原来是使用其他方式安装的 会有类似 /etc/systemd/system/docker.service.d/10-machine.conf  文件
Latest commit 3829829 Nov 7, 2018
Permalink
Failed to load latest commit information.
bin translate playbooks comments into english -1 Sep 29, 2018
docs Update 07-install_cluster_addon.md Nov 10, 2018
down fix 更新离线镜像0.4适用于kubeasz 0.4 Nov 7, 2018
example update doc: kubeasz on public cloud Oct 12, 2018
manifests 升级jenkins-lts版本和插件版本 Nov 7, 2018
pics update donate page Oct 28, 2018
roles fix 内核4.19加载nf_conntrack #366 Nov 10, 2018
tools add script easzctl: cluster manage tool Nov 5, 2018
.gitignore add script easzctl: cluster manage tool Nov 5, 2018
01.prepare.yml translate playbooks comments into english -1 Sep 29, 2018
02.etcd.yml translate playbooks comments into english -1 Sep 29, 2018
03.docker.yml translate playbooks comments into english -1 Sep 29, 2018
04.kube-master.yml translate playbooks comments into english -1 Sep 29, 2018
05.kube-node.yml translate playbooks comments into english -1 Sep 29, 2018
06.network.yml translate playbooks comments into english -1 Sep 29, 2018
07.cluster-addon.yml translate playbooks comments into english -1 Sep 29, 2018
11.harbor.yml translate playbooks comments into english -1 Sep 29, 2018
20.addnode.yml translate playbooks comments into english -1 Sep 29, 2018
21.addmaster.yml translate playbooks comments into english -1 Sep 29, 2018
22.upgrade.yml translate playbooks comments into english -1 Sep 29, 2018
23.backup.yml translate playbooks comments into english -1 Sep 29, 2018
24.restore.yml translate playbooks comments into english -1 Sep 29, 2018
90.setup.yml translate playbooks comments into english -1 Sep 29, 2018
99.clean.yml Update 99.clean.yml Nov 10, 2018
README.md minor update doc README.md Nov 2, 2018
ansible.cfg ansible配置参数优化 May 29, 2018

README.md

kubeasz

kubeasz致力于提供快速部署高可用k8s集群的工具, 并且也努力成为k8s实践、使用的参考书;基于二进制方式部署和利用ansible-playbook实现自动化:即提供一键安装脚本, 也可以分步执行安装各个组件, 同时讲解每一步主要参数配置和注意事项。

集群特性:TLS双向认证、RBAC授权、多Master高可用、支持Network Policy、备份恢复

组件 支持
OS Ubuntu 16.04+, CentOS 7
k8s v1.8, v1.9, v1.10, v1.11, v1.12
etcd v3.1, v3.2, v3.3
docker 17.03.2-ce, 18.06.1-ce
network calico, cilium, flannel, kube-router

请阅读项目TodoList项目分支说明, 欢迎提IssuesPRs参与维护项目。

快速指南

单机快速体验k8s集群的测试、开发环境--AllinOne部署

安装指南

00-规划集群和安装概览 02-安装etcd集群 04-安装master节点 06-安装集群网络
01-创建证书和安装准备 03-安装docker服务 05-安装node节点 07-安装集群插件

使用指南

常用插件+ DNS dashboard metrics-server prometheus efk metallb
集群管理+ 增加node 增加master 删除节点 升级集群 备份恢复 修改network插件
特性实验 NetworkPolicy RollingUpdate HPA
周边生态 harbor helm jenkins
应用实践 java应用部署 elasticsearch部署

沟通交流

贡献&致谢

感谢所有为项目提交 IssuesPRs 的贡献者!感谢捐赠鼓励!

Copyright 2017 gjmzj (jmgaozz@163.com) Apache License 2.0, 详情见 LICENSE 文件。