Giter Site home page Giter Site logo

k8s-scripts's Introduction

k8s-scripts for centos 7.2

测试环境

  • CentOS 7.2 x86_64镜像
  • 虚拟机 Oracle VM VirtualBox 5.1.8
  • 采用3台虚拟机,1台master,2台node
  • 采用脚本(配置和systemd服务生成)+可执行文件方式搭建k8s环境
  • 机器信息通过config/*.json进行配置

网络环境

  • 采用桥接网卡,虚拟机与HOSTS在同一局域网,并能相互访问,关于虚拟机网络设置如下:
    1. NAT 网络地址转换模式(NAT,Network Address Translation)
    虚拟机访问网络,是通过主机转换的,真实的主机不能访问虚拟机。
    2. Bridged Adapter 桥接模式
    分配独立的IP地址,可以相互访问。(建议使用这种,这样可以保证虚拟机有独立的IP,满足arm开发)
    3. Internal 内部网络模式
    4. Host-only Adapter 主机模式
    主机模式,这个模式比较复杂,可以说前面几种模式所实现的功能,在这种模式下,通过虚拟机及网卡的设置都可以实现。

脚本执行顺序

  1. 系统配置
  2. 系统补丁
  3. 安装ETCD集群
  4. 安装FLANNEL
  5. 安装DOCKER
  6. 安装K8S MASTER服务
  7. 安装K8S NODE服务

依赖工具

k8s-scripts's People

Contributors

luohoufu avatar

Watchers

James Cloos avatar  avatar

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.