Code Monkey home page Code Monkey logo

使用ansible-playbook部署kubernetes集群

docker kube ansible

本项目致力于提供快速部署高可用k8s集群的工具,并且也努力成为k8s实践、使用的参考书;基于二进制方式部署和利用ansible-playbook实现自动化:既提供一键安装脚本,也可以分步执行安装各个组件,同时讲解每一步主要参数配置和注意事项;二进制方式部署有助于理解系统各组件的交互原理和熟悉组件启动参数,有助于快速排查解决实际问题。

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

项目基于Ubuntu 16.04/CentOS 7,需要了解基础kubernetes docker linux 知识,关于ansible建议阅读 ansible超快入门

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

组件 更新 支持
OS   Ubuntu 16.04+, CentOS 7
k8s v1.11.0 v1.8,v1.9,v1.10,v1.11
etcd v3.3.8 v3.1,v3.2,v3.3
docker 18.03.1-ce 17..-ce, 18..-ce
network   calico v3.0, flannel v0.10, kube-router

-注:集群用到的所有二进制文件已打包好供下载 https://pan.baidu.com/s/1c4RFaA

快速指南

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

安装步骤

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

使用指南

常用插件 kube-dns dashboard metrics-server prometheus 更多...
集群运维 增加node 增加master 升级集群 备份恢复 更多...
特性实验 NetworkPolicy RollingUpdate HPA
其他 harbor部署 ingress入口 helm工具 jenkins集成

沟通交流

贡献&致谢

感谢所有为项目提交 IssuesPRs 的贡献者!

Copyright 2017 gjmzj ([email protected]) Apache License 2.0,详情见 LICENSE 文件。

cheyunhua's Projects

kubeadm icon kubeadm

Aggregator for issues filed against kubeadm

kubeadm-ha icon kubeadm-ha

Boot a ha kubernetes 1.11.0/1.12.1/1.13.0/1.14.0 cluster with kubeadm.

kubeasz icon kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响

kubectl icon kubectl

Issue tracker and mirror of kubectl code

kubekit icon kubekit

A Kubernetes deployment toolkit for offline environment.

kubeoperator icon kubeoperator

KubeOperator 是一个开源项目,通过 Web UI 在 VMware、OpenStack、物理机上一键部署和管理生产级别的 Kubernetes 集群。

kubernetes icon kubernetes

Production-Grade Container Scheduling and Management

kubescrape icon kubescrape

KubeScrape: An open-source dev tool that provides an intuitive way to view the health, structure, and live metrics of your Kubernetes cluster

kubesphere icon kubesphere

Enterprise-grade container platform tailored for multicloud and multi-cluster management

kubespray icon kubespray

Deploy a Production Ready Kubernetes Cluster

kubeval icon kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

kuboard-press icon kuboard-press

Kuboard 是基于 Kubernetes 的微服务管理界面。同时提供 Kubernetes 免费中文教程,入门教程,最新版本的 Kubernetes v1.16.2 安装手册,(k8s install) 在线答疑,持续更新。

kuboard-spray icon kuboard-spray

使用图形化的界面离线安装、维护、升级高可用的 K8S 集群

kvm-install-vm icon kvm-install-vm

Bash script to build local virtual machines using KVM/libvirt and cloud-init.

lal icon lal

🔥 Golang audio/video live streaming library/client/server. support RTMP, RTSP(RTP/RTCP), HLS, HTTP[S]/WebSocket-FLV/TS, GB28181, H264/H265/AAC/G711, relay, cluster, record, HTTP Notify/API/UI. 直播

lancet icon lancet

A comprehensive, efficient, and reusable util function library of go.

layui icon layui

一套遵循原生态开发模式的 Web UI 组件库,采用自身轻量级模块化规范,易上手,可以更简单快速地构建网页界面。

lhttp icon lhttp

go websocket, a better way to buid your IM server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.