k3s-ansible
terraform-hcloud-kube-hetzner
k3s-ansible | terraform-hcloud-kube-hetzner | |
---|---|---|
17 | 22 | |
2,071 | 1,864 | |
2.7% | 3.8% | |
8.8 | 9.4 | |
7 days ago | 5 days ago | |
Jinja | HCL | |
Apache License 2.0 | MIT License |
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.
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.
terraform-hcloud-kube-hetzner
-
Ask HN: Is there a low cost way to learn real K8s, after exhausting minikube?
Hetzner starting with https://github.com/kube-hetzner/terraform-hcloud-kube-hetzne..., plus registry using DigitalOcean.
-
Home lab running on a single nuc?
However in the end my goto solution is k3s on hetzner cloud since it's got support for load balancers, ingress controllers with public IPS, persistent storage etc. It's cheaper than all the other cloud providers, although you need to run some code it doesn't have a 1 click solution. so I sold my hardware and used this https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner. I run it when I need a kube cluster and kill it by deleting the project.
-
Fastest way to set up an k8s environment ?
You can look at this: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner
- Kube-Hetzner: Kubernetes powered by k3s-on-MicroOS and deployed on Hetzner
-
How do YOU, personally, use Jellyfin?
This whole setup is around 70euros per month, and I can enjoy usenet and torrent downloads of Linux ISOs to constantly peak at 1Gbps speed. All of this is HA with Kubernetes using this.
- "Cheap" cloud provider
- Has anyone set up autoscaling on hetzner?
-
OS choices for cluster
OpenSUSE MicroOS, we use it here. Another good option would be Fedora CoreOS
-
Can any Hetzner user, please explain there workflow on Hetzner?
It's not even close to major public cloud providers, but this is my setup:
* https://github.com/kube-hetzner/terraform-hcloud-kube-hetzne... (Terraform, Kubernetes bootstrap)
* Flux for CI
* nginx-ingress + Hetzner Loadbalancer (thanks to https://github.com/hetznercloud/hcloud-cloud-controller-mana...)
* Hetzner storage volumes (thanks to https://github.com/hetznercloud/csi-driver)
Kube-Hetzner supports Hetzner Cloud loadbalancers and volumes out of the box, though it also supports other components.
-
The cloud backlash has begun: Why big data is pulling compute back on premises
With Hetzner VMs and k3s one could run a k8 cluster with amazingly low cost. There are even ready-made repos that make it lighting fast to deploy and easy to maintain...
https://github.com/kube-hetzner/terraform-hcloud-kube-hetzne...
Even Hetzner maintains a few repos for that:
https://github.com/orgs/hetznercloud/repositories?q=kubernet...
What are some alternatives?
vagrant-k3s-HA-cluster - This repository contains the Vagrantfile and scripts to easily configure a Highly Available Kubernetes (K3s) cluster.
terraform-aws-eks-node-group - Terraform module to provision a fully managed AWS EKS Node Group
ansible-role-k3s - Ansible role for installing k3s as either a standalone server or HA cluster.
horus - Free cloud native platform for service hosting
kadalu - A lightweight Persistent storage solution for Kubernetes / OpenShift / Nomad using GlusterFS in background. More information at https://kadalu.tech
terraform-aws-eks-cluster - Terraform module for provisioning an EKS cluster
etcd-cloud-operator - Deploying and managing production-grade etcd clusters on cloud providers: failure recovery, disaster recovery, backups and resizing.
hetzner-k3s - The easiest and quickest way to create and manage Kubernetes clusters in Hetzner Cloud using the lightweight distribution k3s by Rancher.
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.
terraform-k3s-private-cloud - Private cluster with k3s. Why have 1 huge complicated cluster (pet) when you can have many simple, cheap clusters (cattle)?
k3s-aws-terraform-cluster - Deploy an high available K3s cluster on Amazon AWS