Remix.run Logo
tjarjoura 7 hours ago

In some sense, Kubernetes is just a portable platform for running Linux services, even on a single node using something like K3s. I almost see it as being an extension of the Linux OS layer.

acedTrex 6 hours ago | parent | next [-]

This is what I do for small stuff, debian vm, k3s on it for a nicer http based deployment api.

throwaway894345 3 hours ago | parent | prev | next [-]

Yep, this is the way. Linux is just a platform for running services on one or more computers without needing to know about those computers individually, and even if your scale is 1, it's often easier to install k3s and manage your services with it rather than memorizing a bunch of disparate tools with their own configuration languages, filepath conventions, etc. It's just a lot easier to use k3s than it is to cobble together stuff with traditional linux tools. It's a standard, scalable pane of glass and as much as I may dislike kubectl, it's worlds better than systemctl and journalctl and the like.

sgt 6 hours ago | parent | prev [-]

Then why can't we put a wrapper onto systemd and make that into a light weight k8s?

tjarjoura 4 hours ago | parent | next [-]

This may be familiarity bias, but I often find `kubectl` and related tools like `k9s` more ergonomic than `systemctl`/`journalctl`, even for managing simple single-replica processes that are bound to the host network.

jcgl 3 hours ago | parent | prev | next [-]

See Podman quadlets.

3 hours ago | parent [-]
[deleted]
marcosdumay 6 hours ago | parent | prev | next [-]

Systemd is on the wrong layer here. You need something that can set your machine up, like docker.

jasonjayr 3 hours ago | parent | next [-]

Systemd seems to be moving in that direction, the features are coming together to actually enable this.

Though imagining the unholy existence of an init system who's only job is to spin up containers, that can contain other inits, OS images, or whatever ..... turtles all the way down.

sgt 4 hours ago | parent | prev [-]

Okay it sets the machine up, but not the underlying host machine though.

enos_feedler 6 hours ago | parent | prev [-]

Remember fleet?