News for hackers. Stuff that matters.
Re:Rancher Desktop, a Docker Desktop Replacement by mfer on Tuesday October 12, 2021 @08:51AM (#28839027)
k3s, by default, uses sqlite for storage instead of etcd. This is one of the ways you can get a performance improvement.

If you are going to run a cluster you're likely going to want to have your database be an HA cluster. While k3s can support other databases, like PostgreSQL, it doesn't have handling for clusters in the config.

This is a limitation I see for k3s in clusters, right now.

I would love to see cluster handling in k3s. etcd can be a scaling bottleneck and replacing it with PostgreSQL could help it scale much higher.

Disclaimer, I work on Rancher Desktop which uses k3s

Re:Rancher Desktop, a Docker Desktop Replacement by skrtskrt on Tuesday October 12, 2021 @12:51PM (#28841977)
As someone using k3s on a single node right now, could you clarify/expand on "it doesn't have handling for clusters in the config"?
Re:Rancher Desktop, a Docker Desktop Replacement by pixiemagic on Monday October 18, 2021 @07:39AM (#28904390)
I think they are talking about using a clustered RDMBS as storage for k3s, rather than running multiple nodes as part of your Kubernetes cluster.
Re:Rancher Desktop, a Docker Desktop Replacement by zaphirplane on Tuesday October 12, 2021 @11:56AM (#28841302)
Assuming k8s still uses watch on etcd keys how is that implemented for SQLite ? I suppose polling is possible way if it’s low tps desktop focused
Re:Rancher Desktop, a Docker Desktop Replacement by h3h3 on Tuesday October 12, 2021 @12:47PM (#28841917)