# Kubespray

> Deploy a Production Ready Kubernetes Cluster

Source: https://talira.ai/catalog/kubespray-66wd0wtw
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [infrastructure / kubernetes / cluster lifecycle](https://talira.ai/categories/infrastructure/kubernetes/cluster-lifecycle), [infrastructure / kubernetes / provisioning](https://talira.ai/categories/infrastructure/kubernetes/provisioning)
- Platforms: linux, docker, cli[^1]
- Licence: Apache-2.0[^1][^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- Backed by: [Kubernetes](https://talira.ai/orgs/kubernetes.md), [Kubernetes SIG Cluster Lifecycle](https://talira.ai/orgs/k8s-sig-cluster-lifecycle.md)
- Sponsors: CNCF, Equinix Metal, OVHcloud, ELASTX

Kubespray is a set of [Ansible](https://talira.ai/catalog/ansible-cpvqqenm.md) playbooks and roles that install and upgrade highly available [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) clusters on machines you already have: bare metal, AWS, GCE, Azure, OpenStack, vSphere, or Oracle Cloud Infrastructure (experimental). It uses [kubeadm](https://talira.ai/catalog/kubeadm-5rerw02a.md) internally (since v2.3) for cluster creation and adds the OS configuration, [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md), a container runtime ([containerd](https://talira.ai/catalog/containerd-a68g9gr6.md), [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) or experimental [CRI-O](https://talira.ai/catalog/cri-o-r47bfc1z.md)) and a choice of ten network plugins, with [Calico](https://talira.ai/catalog/calico-0n5tyxxq.md) by default, [Cilium](https://talira.ai/catalog/cilium-pk3603je.md), [Flannel](https://talira.ai/catalog/flannel-fzs48341.md) and others. It supports most popular Linux distributions, from [Debian](https://talira.ai/catalog/debian-xqbs9v9y.md), [Ubuntu](https://talira.ai/catalog/ubuntu-3yhk0xfs.md) and RHEL-family releases to [Flatcar Container Linux](https://talira.ai/catalog/flatcar-container-linux-tmv1w6cd.md) and [Fedora CoreOS](https://talira.ai/catalog/fedora-coreos-8j3zra75.md), and can run from its container image, as an Ansible collection or with Vagrant. It's a Kubernetes SIG Cluster Lifecycle subproject under Apache-2.0.

## Links

- Website: https://kubespray.io/
- GitHub: https://github.com/kubernetes-sigs/kubespray
- Docs: https://kubespray.io/

## Problems it solves

- install a highly available cluster on my own bare metal servers using Ansible, which my team already knows
- deploy the same cluster setup across on-prem VMware and two different clouds
- bootstrap a production cluster on existing Ubuntu, Debian or Rocky Linux servers over SSH
- set up a cluster in an air-gapped data center with no internet access, using our own mirrors
- upgrade every node of a self-managed cluster to a new Kubernetes version with a playbook
- add or remove worker nodes in an on-prem cluster without rebuilding it
- choose between Calico, Cilium, Flannel, Kube-OVN or Multus for pod networking when building a cluster
- plug cluster creation into our existing Ansible inventory and roles
- harden a self-built cluster and its etcd before an audit
- get MetalLB, cert-manager, Argo CD and a storage provisioner installed with the cluster on my own hardware
- run a dual-stack IPv4 and IPv6 cluster on servers in our own racks

## Features

- deploys on AWS, GCE, Azure, OpenStack, vSphere, Oracle Cloud Infrastructure (experimental) or bare metal
- highly available clusters; composable choice of components
- uses kubeadm internally for cluster creation since v2.3
- ten network plugin options: Calico (default), Cilium, Flannel, Kube-OVN, Kube-router, Macvlan, Multus, custom CNI and more
- container runtimes: containerd, Docker, CRI-O (experimental)
- optional apps: cert-manager, CoreDNS, Argo CD, Helm, MetalLB, a container registry
- storage plugins: AWS EBS, Azure Disk, Cinder and GCP PD CSI drivers, local-path and local-volume provisioners
- supports Flatcar, Debian, Ubuntu, CentOS Stream/RHEL, Fedora, Fedora CoreOS, openSUSE, Oracle Linux, AlmaLinux and Rocky Linux
- air-gap (offline) installation, mirrors and a hardening guide
- runs from a container image, as an Ansible collection, or with Vagrant
- Terraform contrib scripts for provisioning infrastructure
- CI end-to-end tests across a matrix of distributions and plugins

## Limitations

- Doesn't manage firewalls on the nodes: you write your own firewall rules, or disable the firewall to avoid problems during deployment[^1]
- Doesn't support Linux distributions that use Upstart or SysV init[^1]

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.86, momentum 0.65, community 1.00, backing 0.45, extensibility 0.00.

- last commit 5 days ago
- 207 commits in the last 90 days
- latest release v2.32.0 2 months ago
- 18.8k GitHub stars
- 1414 contributors
- backed by Kubernetes and Kubernetes SIG Cluster Lifecycle
- sponsored by CNCF, Equinix Metal, OVHcloud, ELASTX

## Related

- Based on [Ansible](https://talira.ai/catalog/ansible-cpvqqenm.md)
- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)
- Works with [kubeadm](https://talira.ai/catalog/kubeadm-5rerw02a.md)

## Alternatives

- [k0s](https://talira.ai/catalog/k0s-qxt2jqew.md): The Simple, Solid & Certified Kubernetes Distribution
- [Gardener](https://talira.ai/catalog/gardener-29vje9px.md): Homogeneous Kubernetes clusters at scale on any infrastructure using hosted control planes.
- [kOps](https://talira.ai/catalog/kops-pbn3fvwv.md): The easiest way to get a production grade Kubernetes cluster up and running
- [kubeadm](https://talira.ai/catalog/kubeadm-5rerw02a.md): Best-practice fast paths for creating Kubernetes clusters with kubeadm init and kubeadm join
- [Cluster API](https://talira.ai/catalog/cluster-api-cfvvvkmf.md): Declarative APIs and tooling to simplify provisioning, upgrading and operating multiple Kubernetes clusters
- [RKE2](https://talira.ai/catalog/rke2-yttex8v2.md): Rancher's enterprise-ready next-generation Kubernetes distribution, focused on security and compliance

## Sources

[^1]: https://github.com/kubernetes-sigs/kubespray (checked 20 Nov 2026)
[^2]: https://github.com/kubernetes-sigs/kubespray/blob/master/LICENSE (checked 20 Nov 2026)
