Live data from Hacker News

K3sup – bootstrap K3s over SSH in < 60s

github.com

31–40 of 55 posts

Re: K3sup – bootstrap K3s over SSH in < 60s

#31
post #27

I do think the Talos model has kinda superseded this when it comes to repeatable deployment tbh

What is the talos model?

It's basically a k8s operating system of sorts. One that basically boots up as a k8s node and that's all it does. You can't log in to it or interact with it other than as a k8s node. That reduces complexity, attack surface and makes things very repeatable

Re: K3sup – bootstrap K3s over SSH in < 60s

#32
post #27

I do think the Talos model has kinda superseded this when it comes to repeatable deployment tbh

My primary use case for K3s is small machines, cheap VPS, Pi, etc. Would love to hear from folks who have had success with Talos in those spaces but last time I gave it a shot the welded shut hood prevented me from doing the little tweaks necessary to get running in those environments.

In the cloud or on prem I suspect folks are having better luck than I did, but also open to being wrong about this.

Re: K3sup – bootstrap K3s over SSH in < 60s

#33
post #27

I do think the Talos model has kinda superseded this when it comes to repeatable deployment tbh

My primary use case for K3s is small machines, cheap VPS, Pi, etc. Would love to hear from folks who have had success with Talos in those spaces but last time I gave it a shot the welded shut hood prevented me from doing the little tweaks necessary to get running in those environments. In the cloud or on prem I suspect folks are having better luck than I did, but also open to being wrong about this.

I'm early on in my Kubernetes journey and have opted to focus on Talos. Would you be able to share a bit more about the issues and limitations you encountered?

Re: K3sup – bootstrap K3s over SSH in < 60s

#34

I'm trying to understand why people are spinning up so many k8s clusters that they need a tool to do it for them? I have one. And it's managed. I don't think there's significant cost savings to going unmanaged, but maybe. Even so, why would I need a ton of them?

I implemented a system that included the OP functionality (plus a whole lot more.) It was for on-premise deployment at customers. It can also be used to spin up stand-alone instances of our system in the cloud, for development, testing, etc. While you could, in theory, do many deployments on a single k8s cluster, there are some benefits to the automatic isolation you get from deploying on a standalone VM.

Re: K3sup – bootstrap K3s over SSH in < 60s

#36

I used this for a bit a few years ago but eventually needed something that was hard or impossible in k3sup and just went to using the k3s tools directly. My deployment script actually got simpler after removing k3sup. Also, fun fact, k3sup is pronounced "ketchup" according to the README[0] [0]: https://github.com/alexellis/k3sup/blob/master/README.md

I was reading the description trying to figure out what it actually does. I built remote k3s deployment over ssh into a product I worked on, and there really was very little to it. Shell into the machine, run the installer, set the config - and that last part is going to be unique to your situation anyway. It makes perfect sense that your setup got simpler after removing this.

Re: K3sup – bootstrap K3s over SSH in < 60s

#37

You can pretty install it without ssh under 60s. The fun starts after it has been installed. We have been running into lot of issues at production with k3s. There I embarked on journey to writing a kubernetes compliant and equivalent platform in rust with the help of claude [1]. It is a fun little project for now, still figuring out stuff, idea is to keep it minimal and single binary every embedded including CNI, and…

You have to be careful trying to do this kind of thing. The problems you describe having below are problems with peripheral components, not k3s itself. The runtime handles garbage collection and image pinning. Your embedded runtime is using libcontainer, the same thing containerd uses, so the behavior should be identical. Since you support other runtimes, how they handle image pinning, if they support it at all, will…

Sure, with full disclosure, I don't expect anyone to run in production until I have. Absolutely understand your trust deficit. Just to give you some context, we run our infrastructure in regulated industries like banking, fintech, and public companies.

Once I have embarked on the journey building this from scratch, there are new innovative ideas I can implement not bound to any foundation or org.

Ps. We do not sell it as product it is 100% free and open-source with MIT license.

Re: K3sup – bootstrap K3s over SSH in < 60s

#38

Earlier quoted context omitted.

My primary use case for K3s is small machines, cheap VPS, Pi, etc. Would love to hear from folks who have had success with Talos in those spaces but last time I gave it a shot the welded shut hood prevented me from doing the little tweaks necessary to get running in those environments. In the cloud or on prem I suspect folks are having better luck than I did, but also open to being wrong about this.

I'm early on in my Kubernetes journey and have opted to focus on Talos. Would you be able to share a bit more about the issues and limitations you encountered?

SRE here who has dealt with both. Talos is operating system and Kubernetes management system without a ton of batteries included.

K3s runs on existing operating systems with batteries included.

Post reply on HN