Description
k3s-ansible is an Ansible collection that builds a highly available Kubernetes cluster with k3s on machines you control. It sets up an HA k3s cluster with an etcd datastore and uses kube-vip to provide a virtual IP for the control plane, and it can use either MetalLB or kube-vip for service load balancing. The project supports several CNI options. The README says the goal is to make a highly available cluster straightforward to install on Debian, tested on version 13, and Ubuntu machines. The repository includes guides for getting started, configuration variables, upgrading an existing cluster, local Molecule testing, contributing, and a guide for coding agents. The README links a video that walks through the approach, and it describes the project as the easiest way to bootstrap a self-hosted HA Kubernetes cluster that you can build, destroy and rebuild. The project is on GitHub and is based on the k3s-io/k3s-ansible work.…
Highlights
- Highly available k3s cluster with etcd
- kube-vip for the control plane address
- MetalLB or kube-vip for load balancing
- Installs on Debian and Ubuntu
- Upgrade guide and Molecule testing
Ratings & Reviews
No ratings yet
Be the first to rate K3s Ansible.
People also visit
Launchpad
A collection of quick starters for ansible, kubernetes, docker, linux, windows
K3s Ansible FAQ
What does k3s-ansible install?
A highly available Kubernetes cluster built with k3s, using an etcd datastore.
Which systems are supported?
The README lists Debian, tested on version 13, and Ubuntu.
How is the load balancing done?
kube-vip provides the control plane virtual IP, and either MetalLB or kube-vip handles service LoadBalancer addresses.
Can I upgrade an existing cluster?
Yes. The project has a guide for upgrading an existing cluster.
What are the best K3s Ansible alternatives?
Popular alternatives to K3s Ansible include K8s, K3sup and Proxmox Kubernetes. See all K3s Ansible alternatives

