Giter Club home page Giter Club logo

kube-inst's Introduction

Install Kubernetes

This is an ansible script to deploy kubernetes on bare-metal servers. Kubernetes will be installed using kubeadm tool. This means that all kubernetes services will be running in docker containers. This installation includes support for corporate proxys.

Prerequisites

  • This was tested on nodes running CentOS 7.x and Ubuntu 16.04.
  • Nodes networking should be configured.
  • The nodes can be accessed with the same SSH key.
  • Ansible 2.3.

The following should be run on a jumpbox:

git clone https://github.com/clsacramento/kube-inst
cd kube-inst

Files to update with environment configuration

Copy the example files for update

cp hosts.example hosts
cp ansible.cfg.example ansible.cfg
cp groupvars/all.example groupvars/all
cp groupvars/3par.example groupvars/3par
  • ./hosts: change ip and host names
  • ./ansible.cfg: change path to ssh_key to connect to all hosts
  • ./groupvars/all: adapt all variables to the environment
  • ./groupvars/3par: add information about 3par connections

How to deploy Kubernetes:

ansible-playbook -i hosts deploy.yml

Supported networks

The networking plugin can be specified in the ./groupvars/all file.

  • Flannel
  • Weave
  • Calico (needs testing)

Included addons

The addons can be enabled or disabled individually in the ./groupvars/all file.

  • Grafana, Heapster and InfluxDB
  • Helm
  • Dashboard
  • Demo app
  • Federation control plane
  • Traefik ingress

kube-inst's People

Contributors

miguelcastilho avatar clsacramento avatar paulsten avatar

Watchers

James Cloos avatar Saad! 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.