Live data from Hacker News

Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

github.com

111–120 of 159 posts

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#111
post #18

1. Anything that offers effective competition to Kubernetes is a Good Thing. I'm not saying this is because I haven't look at it closely enough but competition brings about improvement. 2. Why do people write "Simplenetes has a 100x less code than Kubernetes" instead of saying it has 1/100th the code?

why is that a perceived benefit By contrast, Kubernetes has at least 1000x more developers working on it

1000x developers sounds like a huge red flag.

It’s way too complex already.

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#113

If you're looking for a simple Kubernetes alternative, take a look at the HasiCorp stack. I use that in production and it's easy to set up and maintain.

Or k3s ( https://k3s.io ), which is Rancher's awesome and lightweight Kubernetes distribution.

I use k3s in production, and it is great. But as far as daily use, it is not any simpler than kuberenetes. Initial setup and clustering is a breeze with k3s. But after that, you are mostly just working with the same k3s api as a full kuberenetes setup.

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#114
post #93

Earlier quoted context omitted.

You might enjoy having a look at https://github.com/AlDanial/cloc It can distinguish between actual lines of code, comments and empty lines for a lot of different languages.

You might want to look at https://github.com/boyter/scc It's the same as cloc, but ludicrously fast.

Thanks for sharing - I've been using cloc whenever needed but scc looks like a really sweet alternative/improvement!

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#116

This is ~17k lines of shell scripting and claims to be "simple". Kuberentes is probably ~1m lines of Go. I'm not entirely convinced that this is less complex (simpler) than Kubernetes. There are many factors in complexity, but a big one for me is what I have to hold in my head – global state. From any given point, what do I need to understand to know what's actually going on. For Go, this is actually comparatively li…

I can't believe you are being serious - why are you comparing a shell script to a million-line piece of production software? Apples to oranges. This was written as a joke to make fun of a common gripe against Kubernetes - its complexity. Seems like the Kubernetes community has a bit of a thin skin.

If it is a joke, the README does a poor job of conveying that. It is a bit funny at first but then gets relatively serious and recommends the project for use with up to 20 containers, with the beta caveat.

Either way, setting aside the laudable amount of work put into this, talking about the issues of complexity and different forms it takes seems quite on topic. (I don't have a cow in this fight, not using K8s or anything of the sort.)

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#117
I don’t care about Kubernetes, but someone might read this post and decide that it is a good idea to “simplify” an existing project by rewriting it in 17000 lines bash script.

And some hapless person will be stuck maintaining and debugging it. It could be me, or you, your friend. You don’t want this to happen.

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#118
Im personally not ever gonna use it as long as docker swarm is maintained.

But thank you for bringing the world another tiny step closer to abandoning k8s and k8s (over-engineering) mentality.

You’re doing so much for the world and for all the developers. Thank you!

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#120
post #117

I don’t care about Kubernetes, but someone might read this post and decide that it is a good idea to “simplify” an existing project by rewriting it in 17000 lines bash script. And some hapless person will be stuck maintaining and debugging it. It could be me, or you, your friend. You don’t want this to happen.

> I don’t care about Kubernetes, but someone might read this post and decide that it is a good idea to “simplify” an existing project by rewriting it in 17000 lines bash script.

I think the 17kloc would discourage that kind of thinking.

Post reply on HN