this post was submitted on 07 Feb 2025
952 points (98.7% liked)

linuxmemes

22440 readers
1452 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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.

    founded 2 years ago
    MODERATORS
     
    (page 4) 43 comments
    sorted by: hot top controversial new old
    [–] [email protected] 6 points 5 days ago

    I love my little k3s box and having all my config in git

    [–] [email protected] 2 points 5 days ago (1 children)

    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.

    [–] [email protected] 0 points 5 days ago (2 children)

    Just create an LXC container to run your dockers, all you have to do is make sure you run the LXC as privileged and enable nesting.

    [–] [email protected] 1 points 5 days ago (2 children)

    There are security performance and capability concerns with that approach, apparmor on the first layer lxc probably being the most annoying.

    If you want to isolate your docker sandbox from your main host, you should use a vm not a container.

    load more comments (2 replies)
    load more comments (1 replies)
    [–] [email protected] 93 points 5 days ago (14 children)

    I need a kubernetes cluster with high availability, load balancing and horizontal pod autoscaling, because that is something I want to learn. I don't care that it's just for wife's home-made dog collars webshop.

    [–] [email protected] 21 points 5 days ago

    This is the way

    load more comments (13 replies)
    [–] [email protected] 6 points 5 days ago
    [–] [email protected] 11 points 5 days ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 40 points 5 days ago (6 children)

    A mini PC is a good middle ground. Mostly for the video transcode and machine learning power.

    [–] [email protected] 19 points 5 days ago

    Yeah, a mini PC... or if you already have one, why not 5 mini PCs?

    [–] [email protected] 5 points 5 days ago

    That's what Iam aiming for at the next hardware update. I don't have the space for a server rack and a SFF desktop would also not fit into my home, so a miniPC it'll be. I cannot wait to move to x86.

    load more comments (4 replies)
    [–] [email protected] 5 points 5 days ago* (last edited 5 days ago) (2 children)

    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

    [–] [email protected] 2 points 5 days ago (3 children)

    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.

    load more comments (3 replies)
    load more comments (1 replies)
    [–] [email protected] 5 points 5 days ago* (last edited 5 days ago) (1 children)

    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!

    [–] [email protected] 1 points 5 days ago (2 children)

    Off-topic but can you tell me why your name is red? I use Voyager and your name is red, it should mean something, right?

    load more comments (2 replies)
    [–] [email protected] 8 points 5 days ago

    Ha ha

    Under-complicated -> over-complicated -> under-complicated.

    There's a 'just right' that I think you skipped through.

    [–] [email protected] 1 points 5 days ago

    Ain't nobody got time for that

    [–] [email protected] 4 points 5 days ago* (last edited 5 days ago) (2 children)

    Random mixed parts -> 4u unraid server with switch -> random fedora Optiplex that never fails unlike 4u server

    load more comments (2 replies)
    [–] [email protected] 20 points 5 days ago (2 children)

    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

    [–] [email protected] 2 points 5 days ago

    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.

    [–] [email protected] 13 points 5 days ago

    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.

    [–] [email protected] 17 points 5 days ago* (last edited 5 days ago)

    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.

    [–] [email protected] 14 points 5 days ago (4 children)

    With Linux any old computer from yesteryear can become a quick server. That's what I do, just make sure you got backups.

    [–] [email protected] 4 points 5 days ago

    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.

    [–] [email protected] 3 points 5 days ago (1 children)

    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.

    [–] [email protected] 3 points 5 days ago

    Floor PCs FTW

    load more comments (1 replies)
    [–] [email protected] 78 points 5 days ago (4 children)

    Switched from a raspberry pi 3 to a second hand x86 thin client (lenovo thinkcentre m920q) because raspberry pi 4 were not available at the time. Made me learn proxmox and a bunch of other cool stuff my raspi couldn't handle.

    I'm rooting for ARM / RISC-V to become more popular in desktop computing / servers though.

    [–] [email protected] 2 points 5 days ago (4 children)

    Is there RISC-V hardware already? I thought the specification was still under development.

    load more comments (4 replies)
    [–] [email protected] 8 points 5 days ago (1 children)

    Waiting for proxmox-arm becoming a thing (I know there's some community versions trying it but I'm not sure how reliable they are)

    [–] [email protected] 11 points 5 days ago (1 children)

    The hardware virtualisation available for arm just isn’t there yet

    [–] [email protected] 8 points 5 days ago (2 children)

    Apple Silicon Macs do a great job with virtualization. Outside of them there's just no nice high end hardware that's well suited for something like proxmox. It's either low end SBC, or the hyper proprietary ARM servers that I don't think we can even buy.

    [–] [email protected] 1 points 5 days ago

    Those are heavily customised, we’re talking raspberry pi’s here

    load more comments (1 replies)
    [–] [email protected] 53 points 5 days ago (1 children)

    I've always liked riscv. Just the idea of literally everything on the device being open source is a fun idea. Manuals to everything.

    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 128 points 5 days ago (1 children)

    I need

    It's just fun to play with, there is no "need".

    [–] [email protected] 29 points 5 days ago

    Yeah, I enjoyed my time with k3s setup at home as well, but right now I don't really want nor need that πŸ˜„

    [–] [email protected] 7 points 5 days ago (3 children)
    [–] [email protected] 1 points 5 days ago

    How does that compare to microk8s? I have been using that for a while and like the plugins.

    [–] [email protected] 2 points 5 days ago (1 children)
    [–] [email protected] 6 points 5 days ago (1 children)

    That's not a typo: https://k3s.io/

    It's basically a Kubernetes cluster, which you can run locally on your PC. Really useful for playing around with Kubernetes before you move to a 'proper' environment.

    [–] [email protected] 6 points 5 days ago (1 children)

    That's neat, and also gives me another reason to hate numeronyms 😭

    load more comments (1 replies)
    [–] [email protected] 33 points 5 days ago (1 children)

    None of the power, all of the hassle πŸ’ͺπŸ’ͺ

    load more comments
    view more: β€Ή prev next β€Ί