Remix.run Logo
ktpsns 4 days ago

Talos Linux [1], "the Kubernetes Operating System", is written in Go. That means it exactly works as the little demo here, where the Kernel hands over to a statically compiled Go code as init script.

Talos is really an interesting linux distribution because it has no classical user space, i.e. there is no such thing as a $PATH including /bin, /usr/bin, etc. The shell is instead a network API, following the kubernetes configuration-as-code paradigm. The linux host (node) is supposed to run containerized applications. If you really want to, you can use a special container to get access to the actual user space from the node.

[1] https://www.talos.dev/ [2] https://github.com/siderolabs/talos/releases/tag/v1.11.5

preisschild 4 days ago | parent | next [-]

I also use Talos, but I wonder if just using systemd for the init process wouldn't have been easier. You can interface with systemd in go quite easily anyways...

cpach 4 days ago | parent [-]

s6 (perhaps with s6-rc) is another interesting option. One could say it’s less opinionated than systemd. Or perhaps it’s more correct to say it has another set of opinions.

tayo42 4 days ago | parent | prev [-]

Off-topic i guess. Are there like large scale success stories using this os?

ktpsns 4 days ago | parent [-]

Yes. I know at least one big cloud provider (actually the biggest) in Germany who uses Talos for their managed k8s.