ansible-role-k3s
Ansible role for installing k3s as either a standalone server or HA cluster. (by PyratLabs)
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)
ansible-role-k3s | k3s-ansible | |
---|---|---|
8 | 17 | |
662 | 2,679 | |
1.8% | 3.2% | |
3.2 | 7.9 | |
2 months ago | about 1 month 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.
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?
I deployed k3s to a test node using Techno Tim's k3s-ansible playbook.
-
MetalLB Routing on Hetzner Bare Metal
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 ?
I think this one is updated https://docs.technotim.live/posts/k3s-etcd-ansible/
-
(Longhorn/K3s) Failed cluster, made new cluster, are PVs salvageable?
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?
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
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
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
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?
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!
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:
ansible-role-rke2 - Ansible Role to install RKE2 Kubernetes.
k3s-aws-terraform-cluster - Deploy an high available K3s cluster on Amazon AWS
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-ansible
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.