Code Monkey home page Code Monkey logo

kubeadm-offline-installer's Introduction

kubeadm-offline-installer

  • Upgraded to v1.7.0

Setup a cluster with kubeadm, without internet connections.

Kubeadm is a great way to set up a kubernetes cluster.

But every time I'm setting up a new cluster with it, I have to keep the internet connection, and do something like cat xxx EOF , yum install xxx, when kubeadm finished, I still have to copy config file, ca certs and save the tokens. this is boring, so I composed this playbook, working for minimal CentOS 7, can install a cluster without internet.

Usage

ansible-playbook -i hosts/hosts.sample -u root cluster.yml

  1. Download and extract bin package from Releases tab
  2. Write down ip in the hosts file, here is a sample in hosts/hosts.sample.
  3. Change the variables in group_vars/all.
  4. Run the playbook.
  5. You can find init/join script in /usr/local/bin.
  6. Configuration files are stored in Master node's /etc/kubernetes
  7. Enjoy it.

Features

  1. Offline.
  2. Support for different lvm configuration in CentOS.
  3. Calico plugins included.

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.