Live data from Hacker News

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

github.com

51–60 of 159 posts

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

#51

Earlier quoted context omitted.

I don't disagree with your conclusion. But your comment communicates no argument against Spring and how the trade-offs it makes make it a poor option for new projects.

Anyone with sufficient experience with JPQL and Hibernate will realize their limits and how poorly it works in the latency sensitive transactions we want now. Spring and Hibernate were designed to cache domain 'entities' and manage their dirty state client-side as an optimization. Any time you go want to go near the EntityManager you're hitting this impedance mismatch.

What's the alternative?

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

#52

Building a platform to deploy stateless services are the easy part. This might even work nicely at a smaller scale. It is gets super complicated when you want to mount volumes, re-use those volumes. This is like a nice weekend project, contrarian in nature, but it is just not a replacement for kubernetes. This is some bash script orchestration on top of podman. Bulk of complexity in opensource distro of kubernetes co…

Simplenetes does support state, no sweat. But it can't pull a disk out of the cloud for you, there is some traditional Ops involved.

So, it can reschedule container if there is a continuous error state on a particular host it is deployed?

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

#54

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.

or microk8s with comes pre-installed with ubuntu

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

#55

This is really cool, but is there a real use case for this?

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 architecture straight on your laptop with very quick iterations.

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

#56

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…

If we take out the argument of OS dependent setup, supporting only stateless services etc.

One of the key benefits of kubernetes are API server and custom resource definitions. If you don't like how kubernetes does stuff. You can change the default behavior and orchestrate the way you want.

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

#57

This seems like a huge waste of time and effort. I can only hope that it an april fools joke.

Haha :) Well, the learning has been great I can confirm that. My script-fu is on a whole new level now, it was already quite up there after creating Space.sh [1]

Waste of time... Well... Let's not think too much about that. I'm at least a very happy user of this :)

[1] https://github.com/space-sh/space

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

#59

Earlier quoted context omitted.

This is why Simplenetes is built with Space.sh [1], a tool to build shell script applications. About the tests, can't disagree with you, they will come. [1] https://github.com/space-sh/space

First time I'm hearing of space also. It looks quite impressive, surprised to see no stars

You are hearing of space.sh for the first because it is written by the same authors who wrote this project.
Post reply on HN