ansible-role-k3s VS k3s-ansible

Compare ansible-role-k3s vs k3s-ansible and see what are their differences.

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. (by techno-tim)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ansible-role-k3s k3s-ansible
8 17
596 2,046
2.3% 5.3%
5.9 8.7
3 months ago 9 days 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.

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.

k3s-ansible

Posts with mentions or reviews of k3s-ansible. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • How can I route some pods through a Wireguard pod?
    1 project | /r/kubernetes | 5 Jul 2023
    I deployed k3s to a test node using Techno Tim's k3s-ansible playbook.
  • MetalLB Routing on Hetzner Bare Metal
    1 project | /r/kubernetes | 20 Jun 2023
    Remind myself about how Ansible works (I've forked this: https://github.com/techno-tim/k3s-ansible/tree/master and added a role to automatically set up my Hetzner server and install Core OS, as well as staring the cluster with Flannel Wireguard Native, and a few other minor changes).
  • Fastest way to set up an k8s environment ?
    13 projects | /r/kubernetes | 31 May 2023
    I think this one is updated https://docs.technotim.live/posts/k3s-etcd-ansible/
  • (Longhorn/K3s) Failed cluster, made new cluster, are PVs salvageable?
    2 projects | /r/kubernetes | 27 Mar 2023
    I recently broke my cluster somehow (see this thread) so I decided to start fresh because I can't get K3s up and running again. I now have 5 nodes (3 master, 2 worker) with etcd configured using the K3s-ansible guide found here. Is it possible to recover the PVs from my failed cluster? I still have SSH access to each of the machines that participated in the cluster. It would save me a lot of rebuilding time if I could extract them (even from an older backup, if Longhorn stores them in an accessible format) and apply to the new cluster.
  • How does one cascade reverse proxies together?
    1 project | /r/selfhosted | 22 Mar 2023
    Like u/darkstar_01 mentioned, I'd start with k3s since it has a lot of these things built in and is really lightweight. To further that suggestion I'd recommend using u/Techno-Tim k3s-ansible playbook, it's dark magic. https://github.com/techno-tim/k3s-ansible
  • postgresql cluster , two nodes, docker swarm
    1 project | /r/docker | 21 Mar 2023
    To be honest, I'd just switch to Kubernetes for something like this. Technotim has some pretty easy to digest guides on how to get a basic cluster set up
  • Networking in K3S HA Cluster on Proxmox
    1 project | /r/kubernetes | 28 Feb 2023
    take a look at this https://github.com/techno-tim/k3s-ansible https://www.youtube.com/watch?v=CbkEWcUZ7zM&ab\_channel=TechnoTim
  • Kubernetes (k3s) Tutoring/Instructor
    2 projects | /r/kubernetes | 19 Feb 2023
    I'm having a hard time understanding how to setup the network/cluster for HA. I've basically been following along with this guide: https://docs.technotim.live/posts/k3s-etcd-ansible/ which uses MetalLB + kube-vip. I have the cluster running and have the MetalLB IP range set for a block of internal LAN IPs / Layer 2 (unsure if this is correct for what I'm looking to do). All of this seems to be working internally. My confusion is how to get WAN traffic in.
  • LXC Containers... but why?
    2 projects | /r/Proxmox | 12 Feb 2023
    I’m Nomsplease on GitHub, and I’m currently running the latest Proxmox 7.x with the opt-in kernel 6.X. https://github.com/techno-tim/k3s-ansible
  • Finally finished my homelab diagram!
    1 project | /r/homelab | 30 Sep 2022
    Proxmox is host to a bunch of VMs, including a K3S cluster that is setup though an Ansible playbook. There are 3 Masters and 4 workers. I followed TechnoTim’s guide here to get this cracking and honestly, I’ve only scratched the surface on Kubernetes. I setup a bash alias on the first IP in the K3S stack to run the Ansible playbook with one simple command, so its simple to spin up again, should I shutoff this server. I then setup Rancher to maintain and utilize the Kubernetes Cluster, with a Traefik2 ingress, MetalLB, Helm, and Longhorn for distributed storage. Links here for tutorials by TechnoTim – Longhorn, Traefik-K3S-ingress with Cert-manager, and Rancher setup. The Proxmox server is also home to two separate PBX solutions, they’re installed and they have access to my SIP trunk provider (voip.ms, here’s my referral link if anyone’s interested.) I’ve added 15 bucks to the account and have it as a work line should I ever get my Technical Consulting business off the ground. Right now the PBXs can be spun up but the IP phones are sitting in a closet. It’s a cool project to get going though even if I don’t need a landline, let alone a full PBX. From there I have a bunch of small Ubuntu VMs that I have a created though template’s with cloud-init drives to make it a sinch to spin up another VM (Cloud-init tutorial) I just started to get into Terraform (IoC – infrastructure as code) to spin up VMs in much the same way you would with Ansible (project here thru The Digital Life, yt channel). LibreNMS is another thing that I just spun up the other day. No real tutorial to link because SNMP is dead simple. I’m sure I could dockerize some of these projects, rather than spinning up a whole new Ubuntu VM, but sometimes its nice to just have a clean start and then combine Compose files into stacks though I’m sure some of the VMs can be setup to run more than one service per VM.

What are some alternatives?

When comparing ansible-role-k3s and k3s-ansible you can also consider the following projects:

kubespray - Deploy a Production Ready Kubernetes Cluster

vagrant-k3s-HA-cluster - This repository contains the Vagrantfile and scripts to easily configure a Highly Available Kubernetes (K3s) cluster.

ansible-role-rke2 - Ansible Role to install RKE2 Kubernetes.

kadalu - A lightweight Persistent storage solution for Kubernetes / OpenShift / Nomad using GlusterFS in background. More information at https://kadalu.tech

kubernetes-lxd - A step-by-step guide to get kubernetes running inside an LXC container

agorakube - Agorakube is a Certified Kubernetes Distribution built on top of CNCF ecosystem that provides an enterprise grade solution following best practices to manage a conformant Kubernetes cluster for on-premise and public cloud providers.

k3s-aws-terraform-cluster - Deploy an high available K3s cluster on Amazon AWS

etcd-cloud-operator - Deploying and managing production-grade etcd clusters on cloud providers: failure recovery, disaster recovery, backups and resizing.

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-on-prem-production - Playbooks needed to set up an on-premises K3s cluster and securize it

k3s-ansible