Git Product home page Git Product logo

ansible-deploy-k8s's Introduction

bin-install-kubernetes

  • 说明
- 这是一个二进制搭建的单master节点的k8s集群

- 可以用作学习使用,不能在生产环境中使用

- 使用ansible主从模式部署k8s集群
  在ansible主节点上生成k8s证书和k8s相关配置
  在ansible从节点[k8s集群节点]进行k8s集群部署 
  • 使用
- 根据实际情况调整项目目录下的hosts文件配置和group_vars/all.yaml中的配置

- 依次运行:
  ansible-playbook com.yaml
  ansible-playbook master.yaml
  ansible_playbook worker.yaml

- 在安装了kubectl的节点上运行:
  kubectl create -f others/bootstrap.secret.yaml
  • 注意
- 所有服务组件的可执行文件都用upx工具进行了压缩

- 压缩示例: upx --best --ultra-brute -9 etcd

- 解压示例: upx -d etcd

- 压缩后的可执行文件可能会有性能上的损失

ansible-deploy-k8s's People

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.