Live data from Hacker News

My self-hosting infrastructure, fully automated

github.com

41–50 of 228 posts

Re: My self-hosting infrastructure, fully automated

#41
post #34

You don't need Kubernetes to do self-hosting. Completely overkill.

Overkill probably, but useful practise for when working on something of a scale where it will make a significant difference. And they might just like playing with these things. A home lab does not have to be DayJob practical!

Re: My self-hosting infrastructure, fully automated

#42
post #34

You don't need Kubernetes to do self-hosting. Completely overkill.

Some people just like to tinker and try other things even if it's overkill. I have a k8s cluster on DO to host shitty side projects, it's pretty nice to just `kubectl apply -f manifest.yml` and be done with it, especially since I'll probably wind up tearing everything I just set up anyway.

Re: My self-hosting infrastructure, fully automated

#43
post #34

You don't need Kubernetes to do self-hosting. Completely overkill.

I would rather choose something like xgp-ng as a hypervisor for a home lab environment such a this, instead of a custom one-off kubernetes environment. Or just a total DIY xen or KVM hypervisor on debian or centos approach. But with considerably more RAM in the host machine than 16GB (like 64-128GB). the kubernetes sort of makes sense if the purpose is also for the person who owns/operates it to test kubernetes thing…

> Or just a total DIY xen or KVM hypervisor on debian or centos approach.

Or just install kubevirt on the existing cluster and manage kvm virtual machines with k8s

https://github.com/kubevirt/kubevirt

Re: My self-hosting infrastructure, fully automated

#44
I enjoy reading about homelabs that aren't using kubernetes or some other scheduler and how they're doing it/what the full stack looks like. This is just another "how I installed kubernetes" thing only without any real scale behind it. There are other ways to deploy and run things, and it takes people toying around with alternatives for something unique to spring up.

Re: My self-hosting infrastructure, fully automated

#45

I enjoy reading about homelabs that aren't using kubernetes or some other scheduler and how they're doing it/what the full stack looks like. This is just another "how I installed kubernetes" thing only without any real scale behind it. There are other ways to deploy and run things, and it takes people toying around with alternatives for something unique to spring up.

Yeah I’m with you. I run a rack at home with servers running a few applications orchestrated with a bit of Puppet, it’s 100x more reliable than K8s, I’m not having to do weird hacks to make persistent storage work, edit dozens of YAML files and run a whole host of dodgy control plane services.

Sadly, I leaned this the hard way by setting up a 4-node k8s cluster and realizing bare-metal support is abysmal and the maintainers simply don’t care about you if you’re not running a cluster on AWS or GCP. Unfortunately my day job still involves k8s and people give me strange looks when I suggest metal so substantially less complex, cheaper, more performant, and easier to orchestrate and maintain.

Re: My self-hosting infrastructure, fully automated

#46

This is a very good example of how you can save yourself the mental hurdle of remembering how to configure something etc. I can only suspect how much time, trial and error this must've taken. This is my main issue with IaC. The concept really lends itself to any kind of modern infra, however I'm really put off by the sheer amount of time it takes me to whip out a bunch of Ansible playbooks and helper scripts, and on…

It’s a good habit to always use tools like terraform for cloud or Ansible/Salt/Puppet for machines instead of directly doing something. Especially cloud setups that just run containers are relatively easy to get idempotent with terraform

No. It never gets a habit. It is torture, and you have to look up the commands every time you do it, because you do it infrequently enough not to learn by heart.

Re: My self-hosting infrastructure, fully automated

#47
Repo owner here, I just created this account, I'm a long time HN lurker.

I was surprised to find this on Hacker News, I wanted to wait until the stable release before posting on HN, but thank you for posting :)

This project is still in alpha stage, but please feel free to critique; I'd appreciate it.

Edit 1: After reading some of the comments, I want to clarify a few things:

- Because it is currently in the alpha stage, I do not host anything important on it.

- This is also my learning environment, I use Kubernetes in my day job.

- Yes it is overkill ;)

Edit 2: Wording

Re: My self-hosting infrastructure, fully automated

#48

Deploying services is 1% of the work. Maintaining them, fixing bugs and bottlenecks is the real works. And you cannot do when you deploy tools worth millions of lines of code. Complexity matters. Those popular products make sense only if you have a 20 engineers is your team or you don't care about reliability.

This is downvoted but I think it is true, self hosted services don't get nearly as much love as they need. It takes a huge amount of effort, monitoring, and knowledge on the specific tools to be able to host them securely and detect intrusions. I attempted self hosting for years but decided it ultimately wasn't worth it and that I have very little ability to prevent against attacks or detect that they had happened.

Re: My self-hosting infrastructure, fully automated

#50
post #2

This is very cool! Have you considered something like Tailscale so you can securely access it from outside your home? I've been thinking about spinning up my own home server that way, seeing as Tailscale makes it easy to securely access it from my phone when I'm out and about.

I just stumbled on a self hosted project similar to tailscale: https://github.com/gravitl/netmaker . There is also https://github.com/juanfont/headscale which is an open sourced implementation of the Tailscale coordination server. Tailscale "just works" and makes things incredibly easy for personal use, but it's awesome that there are also similar self-hosted options out there

(Repo owner here) I'm planning to build my own router with OpenWRT and install Wireguard on it, however due to the chip shortage I can't get the hardware for a reasonable price yet. Netmaker looks amazing, I need to play with it.
Post reply on HN