# ![kubeasz](pics/logo_kubeasz.png)
项目致力于提供快速部署高可用`k8s`集群的工具, 同时也努力成为`k8s`实践、使用的参考书;基于二进制方式部署和利用`ansible-playbook`实现自动化;既提供一键安装脚本, 也可以根据`安装指南`分步执行安装各个组件。
- **集群特性** `TLS`双向认证、`RBAC`授权、[多Master高可用](docs/setup/00-planning_and_overall_intro.md#ha-architecture)、支持`Network Policy`、备份恢复、[离线安装](docs/setup/offline_install.md)
- **集群版本** kubernetes v1.20, v1.21, v1.22, v1.23
- **操作系统** CentOS/RedHat 7, Debian 9/10, Ubuntu 16.04/18.04/20.04
- **运行时** docker 19.03.x, 20.10.x [containerd](docs/setup/containerd.md) v1.5.8
- **网络** [calico](docs/setup/network-plugin/calico.md), [cilium](docs/setup/network-plugin/cilium.md), [flannel](docs/setup/network-plugin/flannel.md), [kube-ovn](docs/setup/network-plugin/kube-ovn.md), [kube-router](docs/setup/network-plugin/kube-router.md)
**[news]** kubeasz 通过cncf一致性测试 [详情](docs/mixes/conformance.md)
**[news]** 群里大佬上新一套免费[kubernetes架构师课程](https://www.toutiao.com/c/user/token/MS4wLjABAAAA0YFomuMNm87NNysXeUsQdI0Tt3gOgz8WG_0B3MzxsmI/?tab=article),强烈推荐!
推荐版本对照
<table>
<thead>
<tr>
<td>Kubernetes version</td>
<td>1.19</td>
<td>1.20</td>
<td>1.21</td>
<td>1.22</td>
<td>1.23</td>
</tr>
</thead>
<tbody>
<tr>
<td>kubeasz version</td>
<td>2.2.2</td>
<td>3.0.1</td>
<td>3.1.0</td>
<td>3.1.1</td>
<td>3.2.0</td>
</tr>
</tbody>
</table>
## 快速指南
单机快速体验k8s集群的测试环境--[AllinOne部署](docs/setup/quickStart.md)
- 命令行工具 [ezctl介绍](docs/setup/ezctl.md)
## 安装指南
<table border="0">
<tr>
<td><a href="docs/setup/00-planning_and_overall_intro.md">00-规划集群和配置介绍</a></td>
<td><a href="docs/setup/02-install_etcd.md">02-安装etcd集群</a></td>
<td><a href="docs/setup/04-install_kube_master.md">04-安装master节点</a></td>
<td><a href="docs/setup/06-install_network_plugin.md">06-安装集群网络</a></td>
</tr>
<tr>
<td><a href="docs/setup/01-CA_and_prerequisite.md">01-创建证书和安装准备</a></td>
<td><a href="docs/setup/03-container_runtime.md">03-安装容器运行时</a></td>
<td><a href="docs/setup/05-install_kube_node.md">05-安装node节点</a></td>
<td><a href="docs/setup/07-install_cluster_addon.md">07-安装集群插件</a></td>
</tr>
</table>
## 使用指南
<table border="0">
<tr>
<td><strong>常用插件</strong><a href="docs/guide/index.md">+</a></td>
<td><a href="docs/guide/kubedns.md">DNS</a></td>
<td><a href="docs/guide/dashboard.md">dashboard</a></td>
<td><a href="docs/guide/metrics-server.md">metrics-server</a></td>
<td><a href="docs/guide/prometheus.md">prometheus</a></td>
<td><a href="docs/guide/efk.md">efk</a></td>
<td><a href="docs/guide/ingress.md">ingress</a></td>
</tr>
<tr>
<td><strong>集群管理</strong><a href="docs/op/op-index.md">+</a></td>
<td><a href="docs/op/op-node.md">管理node节点</a></td>
<td><a href="docs/op/op-master.md">管理master节点</a></td>
<td><a href="docs/op/op-etcd.md">管理etcd节点</a></td>
<td><a href="docs/op/upgrade.md">升级集群</a></td>
<td><a href="docs/op/cluster_restore.md">备份恢复</a></td>
<td><a href=""></a></td>
</tr>
<tr>
<td><strong>特性实验</strong></td>
<td><a href="docs/guide/networkpolicy.md">NetworkPolicy</a></td>
<td><a href="docs/guide/rollingupdateWithZeroDowntime.md">RollingUpdate</a></td>
<td><a href="docs/guide/hpa.md">HPA</a></td>
<td><a href=""></a></td>
<td><a href=""></a></td>
<td><a href=""></a></td>
</tr>
<tr>
<td><strong>周边生态</strong></td>
<td><a href="docs/guide/harbor.md">harbor</a></td>
<td><a href="docs/guide/helm.md">helm</a></td>
<td><a href="docs/guide/jenkins.md">jenkins</a></td>
<td><a href="docs/guide/gitlab/readme.md">gitlab</a></td>
<td><a href=""></a></td>
<td><a href=""></a></td>
</tr>
<tr>
<td><strong>应用实践</strong></td>
<td><a href="docs/practice/go_web_app/">go web应用部署</a></td>
<td><a href="docs/practice/java_war_app.md">java应用部署</a></td>
<td><a href="docs/practice/es_cluster.md">elasticsearch集群</a></td>
<td><a href="docs/practice/mariadb_cluster.md">mariadb集群</a></td>
<td><a href=""></a></td>
<td><a href=""></a></td>
</tr>
<tr>
<td><strong>推荐工具</strong></td>
<td><a href="docs/guide/kuboard.md">kuboard</a></td>
<td><a href="https://github.com/derailed/k9s">k9s</a></td>
<td><a href="https://github.com/vmware-tanzu/octant">octant</a></td>
<td><a href="docs/guide/kubesphere.md">KubeSphere</a></td>
<td><a href=""></a></td>
<td><a href=""></a></td>
</tr>
</table>
## 沟通交流
- 微信群:k8s&kubeasz实践, 搜索微信号`badtobone`, 请备注(城市-github用户名), 验证通过会加入群聊。
- 推荐阅读
- [kubernetes-the-hard-way](https://github.com/kelseyhightower/kubernetes-the-hard-way)
- [feisky-Kubernetes 指南](https://github.com/feiskyer/kubernetes-handbook/blob/master/SUMMARY.md)
- [opsnull 安装教程](https://github.com/opsnull/follow-me-install-kubernetes-cluster)
## 贡献&致谢
请阅读[项目分支说明](docs/mixes/branch.md), 欢迎提[Issues](https://github.com/easzlab/kubeasz/issues)和[PRs](docs/mixes/HowToContribute.md)参与维护项目!感谢您的关注与支持!
- [如何 PR](docs/mixes/HowToContribute.md)
- [如何捐赠](docs/mixes/donate.md)
Copyright 2017 gjmzj (jmgaozz@163.com) Apache License 2.0, 详情见 [LICENSE](docs/mixes/LICENSE) 文件。