Hacker News new | ask | show | jobs
by ThinkBeat 1002 days ago
Why the name quadlets?

Classical definition: > A word consisting of four bytes

Quad implies 4 something or rather. What does it refer to here? 4 sections of configuration?

5 comments

An article [1] from Redhat has this excerpt:

> The original Quadlet repository describes Quadlet this way:

>> What do you get if you squash a Kubernetes kubelet? A quadlet

[1] https://www.redhat.com/sysadmin/quadlet-podman

> The original Quadlet repository describes Quadlet this way:

> What do you get if you squash a Kubernetes kubelet?

> A quadlet

So it's based on reinterpreting the root "kuber-" which ultimately means something"to do with "turn", as "cube", and then metaphorically reducing a cube to a square.

I thought it was half a K8s.
They squashed kubelet, not K8s. By that, they probably mean that they got rid of the kubelet and delegated its functionality to systemd (which is already there besides the kubelet if the node uses systemd based distro). Note that quadlet is also capable of creating services based on K8s manifest.
Your explanation makes sense. Thanks.
A quad is commonly used in the 3D graphics world to mean a rectangle (https://www.selfcad.com/blog/quads-in-3d-a-complete-guide), so the idea is that we go "kubelet" -reinterpret-> "cubelet" -flatten it-> "quadlet".
programmers are absolutely terrible at naming things
Maybe they mean Quadrant.