Live data from Hacker News

Show HN: Kubernates in Node.js

github.com

41–50 of 71 posts

Re: Show HN: Kubernates in Node.js

#44
post #31

Earlier quoted context omitted.

Docker Swarm mode has been in maintenance mode for at least 5 years now. It's way to late to bet the house on a product that exists pretty much to support people that have bet on it, not to completely pull the rug under their feet. I introduced Docker Swarm at work in 2018 and already there were rumours that since Kubernetes had won it was just a matter of time until Docker Swarm was fully abandoned.

What's strange is Docker Compose is very slowly resurging. I almost feel like that with a few more primitves (e.g. nodes with tags) and you'd have a much simpler Kubernetes. Which a lot of people might like.

isn't the whole idea of docker compose that it's supposed to be single machine, though?

How likely do you think the introduction of a nodes primitive is given this?

I can see it if it were a strict opt in addition but it feels like it also fundamentally expands the scope of what the tool is.

Re: Show HN: Kubernates in Node.js

#47
post #20

I would really welcome more experimentation in the cluster process management space. Right now it's Kubernetes, Nomad, or solutions embedded into applications (e.g. cephadm). It's a shame that this is an exact copy in a different language. Kubernetes is nice but I can't wait to see what the next generation of tools will look like.

I was thinking about making something that could compete with kubernetes, but I also wanted to use this project to learn more about the inner workings of kubernetes since I personally learn best when I create (or recreate) something.

Maybe in the future I will create something that could be a competitor.

Re: Show HN: Kubernates in Node.js

#48
post #20

I would really welcome more experimentation in the cluster process management space. Right now it's Kubernetes, Nomad, or solutions embedded into applications (e.g. cephadm). It's a shame that this is an exact copy in a different language. Kubernetes is nice but I can't wait to see what the next generation of tools will look like.

Not to be audacious, but I’m working on a post and will HN Show it, soon. It’s called “lattice”, and it’s a software architecture with similar intentions as Kubernetes, but a vanilla approach that leans into existing frameworks instead of inventing things from scratch

Cool, I'd love to see it when it comes out!

Re: Show HN: Kubernates in Node.js

#49
post #5

depending on what, exactly "bash commands don't work" https://github.com/Megapixel99/nodejs-k8s/blob/master/functi... > is talking about, but a thing that bites A LOT of folks when dealing with command: [] (and its args:[] friend) is that they are exec style, not "sh -c" style as one might experience with a Dockerfile RUN command. I think Dockerfile's RUN [""] syntax is also exec style, but I don't use it much becaus…

Off the top of my head I do not remember what the issue was (the changes to the code are from a month ago). Looking at the code now, `dockerExec` https://github.com/Megapixel99/nodejs-k8s/blame/master/funct...> uses `child_process` so that may have something to do with it... however, as I have said in other replies, I just wanted to learn more about the inner workings of k8s and I personally learn best when I create (or recreate) something, I doubt this project will take off, but if it does I will try to fix that when the time comes.

Regardless, thank you for the feedback.

Post reply on HN