QingyaFan / kubernetes-cluster-creator

Use pure shell to init a cluster on a group of bare metal server or virtual server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubernetes-cluster-creator

The script was totally implemented using bash shell, mainly foucus on the offline installation of the kubernetes cluster. As oppose to other tools, it has some main advantage:

  • can work in offline environment;
  • can automatically shutdown firewall;
  • shutdown swap to ensure kubelet working;
  • No dependencies, the script was tested on centos minimal installation and ubuntu minimal installation.

Conponents

The result cluster contains flowing components:

  • ETCD 3.3.13
  • Flannel 0.11.0
  • Docker 18.09.6
  • Kubernetes 1.15.3

And in addition, coredns 1.6.2 will be added soon.

Usage

  1. Config server ips in the cluster.conf.sh
  2. Run ./cluster.install.sh on centos cluster or ./cluster.install.sh --system ubuntu on ubuntu cluster.

About

Use pure shell to init a cluster on a group of bare metal server or virtual server

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%