Live data from Hacker News

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

github.com

91–100 of 159 posts

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

#91
post #89

Earlier quoted context omitted.

Where?

- "Let's put the Dev and Ops back into DevOps." - "Simplenetes doesn't go there because that is when DevOps becomes MagicOps." - " You enjoy the simple things in life."

That's not an "incredible amount of shade".

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

#93

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…

To be fair Kubernetes itself probably has 17k lines of bash, and it is a good thing. It is the first go-to project that I use as a reference for bash scripting best practices. edit: wc reports 47023 lines in *.sh[1], out of which 23836 are unique[2]. [1]: find . -name '*.sh' | xargs cat | wc -l [2]: find . -name '*.sh' | xargs cat | sort | uniq | wc -l

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.

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

#94
post #72

Earlier quoted context omitted.

Thanks :) The real use case is super simple clusters, which could be just 1 node, no etcd, no API (SSH managed), no iptables. Simplenetes is not a living breathing thing which auto heals it self, it's a deterministic approach where you can see your cluster with all hosts in the git repo which represents the cluster. Also, it's focused on making local development easy, so you can develop in a micro services architectu…

> clusters, which could be just 1 node Despite whatever the k8s crowd misuses the term to be, 1 node is not a cluster. It might be a single node managed using cluster-capable technologies, but it's still not a cluster.

I am a fan of the two-node cluster - one node to do the work, and the other node to manage the cluster.

Main upside is that I can put Kubernetes on my resume.

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

#96
This has been bugging me for a while. Programmers love to reinvent the wheel. There a millions of make(1) clones, key-value stores, etc but I don't seem to see many projects (even toys) in the "declarative container runners" space. I think it's a shame.

While Kubernetes is hopefully Very Good, it is complicated, and I have often wondered what other approaches would yield (e.g. more imperative ones, because writing admission controllers is not exactly easy). So I'm glad to see people playing around, though I don't know if this amount of bash is healthy or if 17,000 lines is simple.

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

#97
post #93

Earlier quoted context omitted.

To be fair Kubernetes itself probably has 17k lines of bash, and it is a good thing. It is the first go-to project that I use as a reference for bash scripting best practices. edit: wc reports 47023 lines in *.sh[1], out of which 23836 are unique[2]. [1]: find . -name '*.sh' | xargs cat | wc -l [2]: find . -name '*.sh' | xargs cat | sort | uniq | wc -l

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.

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

#98
post #89

Earlier quoted context omitted.

Where?

- "Let's put the Dev and Ops back into DevOps." - "Simplenetes doesn't go there because that is when DevOps becomes MagicOps." - " You enjoy the simple things in life."

Haha, you can’t be serious. That’s an incredible amount of shade? Gimme a break
Post reply on HN