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

ginbro icon ginbro

Converting a MySQL database'schema to a RESTful golang APIs app in the fastest way

ginkgo icon ginkgo

A Modern Testing Framework for Go

github520 icon github520

:kissing_heart: 让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。(无需安装)

glances icon glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.

gnet icon gnet

🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet 是一个高性能、轻量级、非阻塞的事件驱动 Go 网络框架。

go icon go

The Go programming language

go-1 icon go-1

【Go 从入门到实战】学习笔记,从零开始学 Go、Gin 框架,基本语法包括 26 个Demo,Gin 框架包括:Gin 自定义路由配置、Gin 使用 Logrus 进行日志记录、Gin 数据绑定和验证、Gin 自定义错误处理、Go gRPC Hello World... 持续更新中...

go-admin icon go-admin

基于Gin + Vue + Element UI & Arco Design & Ant Design 的前后端分离权限管理系统脚手架(包含了:多租户的支持,基础用户管理功能,jwt鉴权,代码生成器,RBAC资源控制,表单构建,定时任务等)3分钟构建自己的中后台项目;项目文档》:https://www.go-admin.pro V2 Demo: https://vue2.go-admin.dev V3 Demo: https://vue3.go-admin.dev Antd 订阅版:https://antd.go-admin.pro

go-awesome icon go-awesome

Go 语言优秀资源整理,为项目落地加速🏃

go-bindata icon go-bindata

Hard fork of jteeuwen/go-bindata because it disappeared

go-cache icon go-cache

An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.

go-daemon icon go-daemon

A library for writing system daemons in golang.

go-gin-api icon go-gin-api

基于 Gin 进行模块化设计的 API 框架,封装了常用功能,使用简单,致力于进行快速的业务研发。比如,支持 cors 跨域、jwt 签名验证、zap 日志收集、panic 异常捕获、trace 链路追踪、prometheus 监控指标、swagger 文档生成、viper 配置文件解析、gorm 数据库组件、gormgen 代码生成工具、graphql 查询语言、errno 统一定义错误码、gRPC 的使用、cron 定时任务 等等。

go-git icon go-git

A highly extensible Git implementation in pure Go.

go-homedir icon go-homedir

Go library for detecting and expanding the user's home directory without cgo.

go-humanize icon go-humanize

Go Humans! (formatters for units to human friendly sizes)

go-learning icon go-learning

一个存放Go语言/计算机相关学习资料的仓库

go-micro icon go-micro

A pluggable Go framework for distributed systems development

go-mongox icon go-mongox

A Go Mongo framework with streamlined document operations and efficient BSON data builder using generics. Enhance your Go MongoDB development with simplicity and performance.

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.