Installing Kubernetes with Ansible & Kubespray

Kubespray is an Ansible playbook developed to automate Kubernetes cluster deployments (including system tuning, Docker installation, etc) with substantial community backing. We have found Kubespray to be significantly less painful than tools like kubeadm for cluster deployments and recommend that new cluster installs use these playbooks.

Further, Kubespray has the added benefit of being able to handle scenarios like adding/replacing nodes to the cluster, upgrading your Kubernetes cluster version, and configuring Kubernetes with different container runtimes. For more information, please see the Kubespray wiki.

SLATE builts on top of Kubespray by providing a playbook that works with the created Kubespray inventory file to automate cluster registration.

These instructions assume you are installing a multi-node, Kubernetes cluster with MetalLB and Calico that is not behind a NAT. To configure the cluster without these or with other parameters, please read Additional Configurations first.