linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Wait, you can host a website on a raspberry pi !? But is it really cheaper than shared hosting, for instance? And even then, quality-wise, it cannot be that good, can it?
I bought a decade old Z840 and it's great for VMs, Plex, Arr stack, and a few other services but it is so overkill with 2 GPUs. I think what I should've done was buy a couple of used desktops or laptops to expand the my homelab as I needed.
I've discovered that there are a lot of medium-tier software engineers who immediately will go straight to horizontal scaling (i.e: just throw hardware at it), and I've seen instances where very highly skilled engineers just write their code better, set things up on a bare metal server, cache things, etc. and manage with just a single badass server
Even just the choice of programming language makes a big difference. Running a JVM language or NodeJS, Python, Ruby etc., you can be bottlenecked by a Pi. Meanwhile, Rust or C/C++ will use barely a fraction of those resources.
Right? I just spin up another process on my home server. No need to get more hardware involved for something that's inherently a software problem.
I spend all day at work exploring the inside of the k8s sausage factory so I'm inured to the horrors and can fix basically anything that breaks. The way k8s handles ingress and service discovery makes it absolutely worth it to me. The fact that I can create an HTTPProxy
and have external-dns automagically expose it via DNS is really nice. I never have to worry about port conflicts, and I can upgrade my shit whenever with no (or minimal) downtime, which is nice for smart home stuff. Most of what I run tends to be singleton statefulsets or single-leader deployments managed with leases, and I only do horizontal for minimal HA, not at all for perf. If something gives me more trouble running in HA than it does in singleton mode then it's being run as a singleton.
k8s is a complex system with priorities that diverge from what is ideal for usage at home, but it can be really nice. There are certain things that just get their own VM (Home Assistant is a big one) because they don't containerize/k8serize well though.
Yup, a pi is enough for me.
Well... 5 Pis and an ancient NUC running proxmox are enough for me. And a DS920+... and an old laptop running docker are enough for me.
I love my little k3s box and having all my config in git
With Linux any old computer from yesteryear can become a quick server. That's what I do, just make sure you got backups.
My home server is literally made from garbage left over from other PCs. The motherboard is currently some piece of junk from a prefab PC with a custom power socket, so I got to make my own adapter from scratch.
Yup! When I built a gaming comphter last year my old desktop became my first dive into linux. Probably overkill, but ive been having a blast with it.
Nice!
Ha ha
Under-complicated -> over-complicated -> under-complicated.
There's a 'just right' that I think you skipped through.
Raspberry Pis are way overhyped and overpriced.
Also this is totally wrong. Once you start it just keeps growing unless there is some other factor.
three raspberries pi running k3s is good enough for me
As a developer and not a sysadmin, I refuse to learn anything more than docker. It's good enough for me π€
Edit: on a more serious note, proxmox with docker containers has been more than enough for me
Do you run Docker in a VM or on the host node? I'm running a lot of LXC at home on Proxmox but sometimes it'd be nice to run Docker stuff easily as well.
It's kind of redundant but I run Docker in minimal debian LXCs. I like the speed of LXCs but I still love the reproducibility of Docker so I combine them lol. I do run regular VMs with docker for systems that are doing more than one thing
Thanks for the tip, I'll have to give that a try this weekend. I assumed it would require a full VM but never thought to try it in LXC, nice if it's that simple and I now feel kind of silly for asking haha. And the reproducibility and ease of deployment is indeed a big plus of Docker compared to LXC. It would be nice if Proxmox could add native integration for Docker at some point.
One thing that's super important is to enable container nesting in the LXC settings. You can't run docker otherwise. (Besides that one setting, it's definitely as simple as that) And very much agreed @ the docker support in PM. That'd be the dream.
Have fun with the testing though!
Do you run Docker in a VM or on the host node? I'm running a lot of LXC at home on Proxmox but sometimes it'd be nice to run Docker stuff easily as well.
I've been enjoying Jeff Geerling's ongoing experiments with his 10" Raspberry Pi mini rack.
It doesn't work for me since all of my network equipment is 19" and there's no point in having two racks but having a 10" standard is still a great idea!