Skip to content

containerum/letskube

Repository files navigation

Let's Kube

Let's Kube

Work in progress

Ansible playbooks for deploying a Kubernetes cluster on virtual machines with CentOS 7.

Requirements:

  • Ansible 2.1 or higher
  • CentOS 7

Installation

Add your nodes in inventory.

In group_vars: internal_net - internal subnet for kube-api, etcd, calico

Start:

ansible-playbook bootstrap.yaml -i inventory

Roadmap

  • install docker 17.12.1
  • install kubelet, kubectl, kubeadm 1.9.*
  • install etcd on host
  • init 1 master and multiple slaves
  • make admin.conf
  • install calico
  • install etcd on multiple hosts
  • backup and restore etcd
  • init multi-master
  • install flannel, canal
  • update Kubernetes cluster