Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 708 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 708 Bytes

Introduction

Deploy K8s with Kubeadm by Ansible.

Prerequisites

You need to install these tools in your laptop:

  • Ansible
  • Vagrant
  • VirtualBox

How to use

Bootstrap the VMs

$ Vagrant up

Deploy K8s

$ ansible-playbook kubeadm.yml

Configuration

The main configuration file: roles/kubeadm/defaults/main.yml

  • pod cidr is defined by the variable POD_CIDR
  • To use Flannel flannel: true
  • To use Calico calico: true
  • To use Weavenet weave: true

Note: only one network add-on can be used.

Roadmap

  • Support Calico network add-on
  • Support Weave network add-on
  • End-to-end tests

License

The source code in this repo is licensed under the GPL 3