by rmbryan on 1/21/22, 10:52 PM with 222 comments
by khuedoan on 1/22/22, 2:56 AM
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
by nyellin on 1/22/22, 9:47 AM
Of course none of that is necessary for a self hosted home lab, but neither is gitops.
This is a very nice example of how to set stuff up properly.
OP, I would love to see Robusta (https://robusta.dev) as part of this too. It's definitely in line with your vision of automating everything, as it let's you automate the response to alerts and other events in your cluster. (Disclaimer: I'm one of the maintainers)
by simonw on 1/21/22, 11:38 PM
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.
by candiddevmike on 1/22/22, 2:35 AM
by extinctpotato on 1/22/22, 12:31 AM
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 top of that make sure that all of them are idempotent.
Maybe I'm doing something wrong and this should be easy?
by erulabs on 1/22/22, 1:20 AM
by goodpoint on 1/22/22, 12:39 AM
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.
by 616c on 1/22/22, 12:35 AM
Well done. I was not aware of the Cloudflare solution. Is this something someone can use, _with_ their Cloudflare Access offering, for personal dev/lab envs without breaking the bank?
by qbasic_forever on 1/22/22, 5:58 AM
If you're looking for some nice stuff to develop on an environment like this, check out VS Code and Google's cloud code addon: https://marketplace.visualstudio.com/items?itemName=GoogleCl... It's not totally tied to their GCE cloud offerings and is actually just a VS Code integration of their Skaffold tool (a fantastic inner dev loop tool for k8s). It works great with minikube or any other k8s cluster, presumably this one too. You can very quickly get up and running with code in your IDE now running and debugging on your k8s environment.
by surfsvammel on 1/22/22, 9:46 AM
I have done some home lab going on over the years, and find that trying to do more on less W has been the most fun.
by comprev on 1/22/22, 11:47 AM
For a single server deployment docker-compose is very useful.
by JamesAdir on 1/22/22, 7:06 PM
by AdrianoKF on 1/22/22, 11:25 AM
What has been an obstacle is the availability of officially maintained Docker images for some of the components I've been wanting to use - afaict neither Argo CD nor Rook have official armv7/aarch64 images (though it seems Argo will release one soon).
Until then, I'll hold off on that pet project until I get my hands on a reasonably priced x86 SFF PC (the ThinkCentre M700 Tiny from TFA looks interesting!).
by cyfex on 1/22/22, 8:09 AM
This looks like a great setup by the author, but difficult to maintain in the long run without significant time investment.
by akkartik on 1/22/22, 1:21 AM
by mikesabbagh on 1/22/22, 4:54 AM
All this work is nice and beautiful, the problem will come when you try to update different components.
by gigel82 on 1/22/22, 1:27 AM
If anyone has one handy, I'd appreciate a link.
by gorgoiler on 1/22/22, 2:02 PM
by ianunruh on 1/23/22, 6:40 AM
by nodesocket on 1/22/22, 4:42 PM
Also, when you bump the image tag in a git commit for a given helm chart, how does that get deployed? Is it automatic, or do you manually run helm upgrade commands?
by endofreach on 1/22/22, 9:03 PM
Good first version, i am excited for the beta!
by jaimex2 on 1/22/22, 9:09 AM
by turtlebits on 1/22/22, 12:31 AM
by whalesalad on 1/22/22, 12:39 AM
by mrslave on 1/22/22, 7:22 AM
by Lamad123 on 1/22/22, 12:54 AM
by unixhero on 1/22/22, 12:14 AM
by divbzero on 1/22/22, 2:01 AM
by throwaway894345 on 1/22/22, 1:08 AM
by quocanh on 1/22/22, 12:05 AM
Do you experiment with your tech stack? Swapping things in and out to see which apps are best?
by iamgopal on 1/22/22, 11:26 AM
by ekianjo on 1/22/22, 2:11 AM
by josephd79 on 1/26/22, 2:48 PM
by kstenerud on 1/22/22, 8:21 AM
There are 19 stacks in this repository. 19 pieces of software that require their own maintenance, JUST TO RUN YOUR APPLICATIONS! The amount of extra work required just to host the software that views your pictures, plays your videos, and allows chat with people is absolutely insane.
I'm not talking about this particular repo; it's just indicative of how complicated things have become that you must do the equivalent of building and maintaining your own operating system just to get even simple things done. And I belive that it's unnecessarily complicated (once again, not this repo, but rather the state of affairs in general). We're at an inflection point in the industry, and haven't come out the other side yet.
by walrus01 on 1/22/22, 1:53 AM
if this is for a home lab where any one of the services run on it are not actually going to affect you if it goes belly up? or the whole host machine? sure, okay, but that's self hosting a home lab, not self-hosting actual infrastructure...
clearly the hardware shown in the image is meant to be small, not noisy, and not take up a lot of space, and operate in somebody's house.
but the people I know who seriously self host all their stuff have it on something like a few old Dell R620 1U servers with 1+1 dual hot swap power supplies, RAID-1 for the operating system boot, RAID-1 or RAID-6 (or something like mdadm raid6) for storage drives (again all hot swap capable), etc.
note that I am not talking about a lot of money here, you can buy the hardware I described in the preceding paragraph for $300 on eBay and then add your own choice of SSDs.
and not in a house, but in something like a small to medium sized ISP's colocation environment, with UPS, generator backed power, etc. also attached to network equipment and a DIA circuit that's considerably more serious than a tp-link unmanaged switch attached to a residential internet service.