Kubespray deploys highly available Kubernetes clusters on public clouds, OpenStack, vSphere, or bare metal. Ansible playbooks drive installation and upgrades across many Linux distributions.
Overview
Kubespray is an Ansible-based toolkit for standing up production-ready Kubernetes clusters. Operators can target AWS, GCE, Azure, OpenStack, vSphere, Oracle Cloud Infrastructure, or bare-metal hosts.
Clusters can be highly available and composed with a choice of network plugins, including Calico, Flannel, Cilium, kube-ovn, kube-router, macvlan, multus, and custom CNI manifests. Ingress support includes MetalLB as a bare-metal load balancer provider.
Deployment paths include running playbooks directly, using a Docker image wrapper, consuming the project as an Ansible collection, or provisioning through Vagrant for local trials. Documentation covers inventories, upgrades, air-gap installs, HA mode, DNS, hardening, and adding or replacing nodes.
Supported host operating systems span Flatcar, Debian, Ubuntu, RHEL family, Fedora, openSUSE, Oracle Linux, Alma, Rocky, and several experimental enterprise Linux variants. Continuous integration exercises end-to-end cluster tests across providers.
Key features
- Ansible playbooks for full cluster lifecycle
- Multi-cloud and bare-metal inventory support
- Selectable CNI and ingress plugins
- Highly available control plane options
- Docker-wrapped ansible execution
- Air-gap and offline artifact workflows
- Documented upgrade and node replacement flows
Use cases
- Bare-metal Kubernetes on owned servers
- Repeatable cloud cluster provisioning
- Air-gapped enterprise Kubernetes installs
- Local Vagrant-based cluster testing