homelab
k3s-ansible
homelab | k3s-ansible | |
---|---|---|
53 | 17 | |
7,756 | 2,080 | |
- | 2.7% | |
9.1 | 8.8 | |
14 days ago | 10 days ago | |
Python | Jinja | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
homelab
-
Fastest way to set up an k8s environment ?
K3s is great, I use it on all of my personal clusters (here and here). It's lightweight and very easy to manage.
-
Years unemployed. Managed to get a job and barely hanging on, feeling like treading water. Able to get back on meds soon. Hope things get better.
https://github.com/khuedoan/homelab if you haven't come across it yet. To add to your bookmarks.
-
Kubernetes home lab hardware and learning resources
I have my Kubernetes homelab public on GitHub, everything is automated and defined as code. Hope it will help you get started and see what's possible.
-
Kubernetes dev homelab & NAS
So I 've got inspired by https://github.com/khuedoan/homelab and initially after lurking this sub for a while I came up with a plan to consider some of these solutions: - openmediavault as a VM to use 2x4TB /w ext4 & mergerFS or TrueNAS in RAID1 - I think mergerFS gives more options to increase storage with extra drives later, but I don't plan to hoard lots of data. Also rather opted for tiered cache via SSD to save some power but if such lot of VMs would write this would work? - nextcloud VM to easiely manage files via browser and have mobile app sync for photos with some kind of gallery plugins etc - I think this may be optional if there's other solution as nextcloud seems to not be light. Or something like Seafile would be enough? - kubernetes - k3s/microk8s single VM node or 2 VM nodes - would I need more? and so - can then openmediavault be used as a storage for it like TrueNAS? - Rancher - if used k3s - I quite liked the UI of rancher desktop, more than portainer when I tried with microk8s, but I don't pass on using something else, eg. Lens - Gitea - for hosting code - tekton / teamcity - for running tests and commit build hooks - fluxCD / argoCD - for deploying builds to kubernetes
-
Managed to get these for free!
khuedoan/homelab
-
Homelab Kubernetes demo
Here's my project (running on 4 mini PC) that I'm using for learning and self-hosting https://github.com/khuedoan/homelab, it's fully automated from empty disk to operating services.
-
How Often Do You Fully Reconfigure Your Server, Down to the Operating System?
You can checkout my repo If you'd like to do the same for your homelab (it's also modular so you can just use the OS installation part)
-
What's the Best Wiki for a Self Hosted Home Lab?
Here're the links to the Markdown source and the web view.
-
Most enterprise like homelab options for learning
You can checkout my Kubernetes homelab, it's fully automated from empty disk, very customizable and extensible.
-
Automatically install Linux on all of your servers in parallel without touching them (one command)
You can view the code here: https://github.com/khuedoan/homelab (the ./metal folder)
k3s-ansible
-
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?
harvester - Open source hyperconverged infrastructure (HCI) software
vagrant-k3s-HA-cluster - This repository contains the Vagrantfile and scripts to easily configure a Highly Available Kubernetes (K3s) cluster.
netboot.xyz - Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
ansible-role-k3s - Ansible role for installing k3s as either a standalone server or HA cluster.
devops-exercises - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
kadalu - A lightweight Persistent storage solution for Kubernetes / OpenShift / Nomad using GlusterFS in background. More information at https://kadalu.tech
Netmaker - Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
etcd-cloud-operator - Deploying and managing production-grade etcd clusters on cloud providers: failure recovery, disaster recovery, backups and resizing.
yunohost - YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
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.
kubevirt - Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
k3s-aws-terraform-cluster - Deploy an high available K3s cluster on Amazon AWS