Earlier quoted context omitted.
> "Lightweight Kubernetes" and then a graph involving 2 different nodes with 10+ services running on them. Among its many strengths, core services for running Kubernetes running inside Kubernetes itself is one of its greatest. > it's easy to understand all the moving pieces It's legit to leverage your pre-existing knowledge. Nomad + Linux Pets + Other Hashichorp Pets works well. There are many ways to run an applicat…
"Machine Cattle"?
K3s – Lightweight Kubernetes
111–120 of 196 posts
Re: K3s – Lightweight Kubernetes
#112Earlier quoted context omitted.
The amount of services running is not an indication of how lightweight the underlying tech is. K3S is for orchestration across nodes, and by design you can't run services on the master for security reasons unless you manually change it. Are you trying to say that 10 services and 2 nodes would be less on Nomad?
> K3S is for orchestration across nodes, and by design you can't run services on the master for security reasons unless you manually change it. That has not been my experience with k3s. Unlike normal distributions, k3s servers do allow workload to run on them unless you manually disable. From https://docs.k3s.io/datastore/ha-embedded : " An HA K3s cluster with embedded etcd is composed of: - Three or more server node…
Re: K3s – Lightweight Kubernetes
#113K3s' go.mod[0] is insane. [0] https://github.com/k3s-io/k3s/blob/master/go.mod
Re: K3s – Lightweight Kubernetes
#114Kubernetes seems like an "acquired taste". Either you use it a lot (likely at work) and are therefore comfortable using it outside of work as your one-size-fits-all solution to everything, or else you don't use it a lot and see it as a complexity behemoth that hides all of your system behind esoteric CLIs and config files that just make everything a nightmare to manage.
I find it very acceptable on my local servers that run my mail, web, mastodon, etc servers. I prefer the configuration in kubenetes templates instead of spread all over my filesystem in /etc (config in one place and fucking unit files in another), /var/lib, /opt, etc.
Re: K3s – Lightweight Kubernetes
#115Earlier quoted context omitted.
I find it very acceptable on my local servers that run my mail, web, mastodon, etc servers. I prefer the configuration in kubenetes templates instead of spread all over my filesystem in /etc (config in one place and fucking unit files in another), /var/lib, /opt, etc.
I think you'd love NixOS!
Re: K3s – Lightweight Kubernetes
#116Kubernetes seems like an "acquired taste". Either you use it a lot (likely at work) and are therefore comfortable using it outside of work as your one-size-fits-all solution to everything, or else you don't use it a lot and see it as a complexity behemoth that hides all of your system behind esoteric CLIs and config files that just make everything a nightmare to manage.
I find it very acceptable on my local servers that run my mail, web, mastodon, etc servers. I prefer the configuration in kubenetes templates instead of spread all over my filesystem in /etc (config in one place and fucking unit files in another), /var/lib, /opt, etc.
Re: K3s – Lightweight Kubernetes
#117There's this issue that goes back to 2019 that got closed without any real resolution. I moved on but I'm curious if anyone else has measured this?
Re: K3s – Lightweight Kubernetes
#118Interestingly, SUSE now owns Rancher [0], so k3s has been backed by a large company for some time now. I've never tried k3s, but I have always thought it's probably the most loved-by-its-users version of Kubernetes. [0] https://www.suse.com/news/suse-completes-rancher-acquisition...
If you want to easily try it out, we baked it into Rancher Desktop [1]. RD let's you run Kubernetes (via k3s) and containers on your desktop. You pick the k8s version. [1] https://rancherdesktop.io/ Disclosure, I work for SUSE and started Rancher Desktop.
We use it as a free replacement for Docker Desktop and it works very well.
Unfortunately, we cannot use the Kubernetes part of it because it comes with "steve" (used for dashboards), which uses and blocks (!) the same ports as our application, and those ports are not configurable. So, please please solve this request here: https://github.com/rancher-sandbox/rancher-desktop/issues/18...
Re: K3s – Lightweight Kubernetes
#119Re: K3s – Lightweight Kubernetes
#120Earlier quoted context omitted.
"Machine Cattle"?
Treat your machines like cattle, not pets. When I used to run kubernetes in the pre-'kube as a service' days. We had two autoscaling groups, one which had 3 or 5 nodes in it to run the control plane nodes and an open eneded one for workers (which were managed by the cluster autoscaler). Each ASG was set up in such a way that the nodes would come up and join the cluster fully automated and they never needed to be shel…