ansible-role-k3s
Ansible role for installing k3s as either a standalone server or HA cluster. (by PyratLabs)
kubespray
Deploy a Production Ready Kubernetes Cluster (by kubernetes-sigs)

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
ansible-role-k3s | kubespray | |
---|---|---|
8 | 59 | |
661 | 16,772 | |
1.7% | 1.8% | |
3.2 | 9.8 | |
2 months ago | 1 day ago | |
Jinja | Jinja | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ansible-role-k3s
Posts with mentions or reviews of ansible-role-k3s.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-17.
- Ansible for provisioning nodes
-
Bare Metal Solutions
There is another very good ansible role for k3s, actually better than mine
-
Off the shelf RPi k3s setup
if you have experience with ansible you can use https://github.com/PyratLabs/ansible-role-k3s
-
My self-hosting infrastructure, fully automated from empty disk to operating services.
Not OP but there's an excellent galaxy ansible role for k3s and it's idempotent, so if you want to upgrade to a newer version of k3s or tweak settings, or add a node it's supported.
-
Home Infrastructure Ansible / Docker / K8S on Github
Take it to the next level and let git be the source of truth for k8s using Flux! My home cluster repo is exactly that plus I'm using the ansible-k3s-role Galaxy role. It's based on this k8s at home template.
- Ask r/kubernetes: What are you working on this week?
-
Kube-VIP not making a VIP K3s Baremetal
If you are comfortable with ansible there's a nice Galaxy role that I use.
-
26 Node Raspberry Pi Cluster
Experience has been good so far but this is the first I saw of KubeEdge. I’m going to give it an evaluation. I used Ansible https://github.com/PyratLabs/ansible-role-k3s to set up the cluster with some minor adaptions and cleanup scripts.
kubespray
Posts with mentions or reviews of kubespray.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-08-08.
-
Setting Up The Home Lab: Setting up Kubernetes Using Ansible
So now that I've got my hosts deployed, it's time to set up Kubernetes. I've cloned the Kubespray GitHub repo and now I'll run the cluster.yml playbook:
-
Lowest Price for your own kubernetes using Hetzner Cloud(incl. Storage Provisioner)
kube-master1:~# sudo apt install python3-pip -y sudo apt install python3-virtualenv -y git clone https://github.com/kubernetes-sigs/kubespray.git VENVDIR=kubespray-venv KUBESPRAYDIR=kubespray ANSIBLE_VERSION=2.12 virtualenv --python=$(which python3) $VENVDIR source $VENVDIR/bin/activate (kubespray-venv) kube-master1:~# cd $KUBESPRAYDIR pip install -U -r requirements.txt cp -rfp inventory/sample inventory/mycluster
-
Provisioning Kubernetes Clusters with Kubespray
For further troubleshooting on any encountered issue, please refer to the official Kubespray repository for comprehensive troubleshooting steps.
-
Upgrading Hundreds of Kubernetes Clusters
When it came to deployment, I had several options, and I chose the hard way: deploying Kubernetes on bare metal nodes using KubeSpray. Troubleshooting bare metal Kubernetes deployments honed my skills in pinpointing issues. This hands-on experience provided a deep understanding of how each component, like the Control Plane, kubelet, Container Runtime, and scheduler, interacts to orchestrate containers.
-
Zarf: K8s in Airgapped Environments
Worth noting that if you like ansible, Kubespray has had documented air-gap installation since 2018 https://github.com/kubernetes-sigs/kubespray/commit/963c3479...
- Ask HN: Options for K8s On-Prem
-
Kubernetes dial tcp myIP:10250: connect: no route to host
calico v3.7.3 kubernetes v1.16.0 installed via kubespray https://github.com/kubernetes-sigs/kubespray
-
How many of you are running kubernetes on prem?
About 1yr ago I ran k8s with 300 nodes using kube spray https://github.com/kubernetes-sigs/kubespray . Never had any real issue with it. We did finally move to the cloud though.
- Automated Kubernetes installation
-
Learning to setup my own k8s cluster
I would highly recommend https://github.com/kubernetes-sigs/kubespray
What are some alternatives?
When comparing ansible-role-k3s and kubespray you can also consider the following projects:
ansible-role-rke2 - Ansible Role to install RKE2 Kubernetes.
talos - Talos Linux is a modern Linux distribution built for Kubernetes.
k3s-ansible - The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
kubeadm - Aggregator for issues filed against kubeadm
Mayastor - Dynamically provision Stateful Persistent Replicated Cluster-wide Fabric Volumes & Filesystems for Kubernetes that is provisioned from an optimized NVME SPDK backend data storage stack.
k3s - Lightweight Kubernetes

Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured