Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ya this kind of usecase is for sure straying into the "this is more of a pain than its worth" with regards to k8s. Esp when you can just do basic nfs mounts in nix anyways.

If you are already familiar with k8s volumes and csi's its not a huge problem but if you arent its not worth learning if your goal is simple. At least in my opinion.



Thank you for taking the time to confirm this.

Yeah, that is also my opinion after that experience.

Also, it was really frustrating as the number of moving parts that have to play nice to each other is high.


K8s and its derivatives ultimately were designed to declaratively orchestrate stateless apis/middlewares. It of course can quite competently do many other things. But it does what it was BUILT to do originally the best and the simplest.

Many hobby projects are just that, simple apis and can benefit from the simple declarative yamls that exist in say a sqlite db on the vm vs random config in /etc, /var and ip table scripts etc.

But trying to do anything out of that simple mold? just do it the simpler and easier traditional way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: