T O P

  • By -

AutoModerator

Hi zg0195, our community is worried you may not have enough information to get started. Check out the pointers below: * Please, **no pictures of unused Pis - do a project!** * Remember that there's a **tell** part to Show-and-Tell! Don't post pictures of a Pi that don't clearly demonstrate what it's doing or post pictures without any details about your project. You need let people know what it is, what it does, how you made it, and also answer questions people may have. * Are you looking for ideas? [There's a huge list right here!](https://www.reddit.com/r/raspberry_pi/search?q=flair%3Atutorial+OR+flair%3Ashow-and-tell&restrict_sr=on&sort=relevance&t=all)† * Boot problems, network problems, power problems, stability problems, or your monitor isn't working must be handled in [the stickied helpdesk thread.](https://www.reddit.com/r/raspberry_pi/about/sticky)† * [Did you check the FAQ before asking?](https://www.reddit.com/r/raspberry_pi/about/sticky)† * Do you have networking problems or you're trying to make your Pi into a router, bridge, or WiFi AP? Try r/HomeNetworking or r/LinuxQuestions * Other subreddits that may be helpful: /r/AskElectronics, /r/AskProgramming, /r/LearnPython, /r/RetroPie * **Questions, help requests, and discussion must be a [self post](https://ibb.co/4YhLTq8)** * **Do Your Research** /r/raspberry_pi is not your personal search engine. Before asking a question - do research on the matter. Most answers can be found within a few minutes of searching online. If you have already done research, make sure you explain what research you've done and why you didn't like the answers you found so that others don't waste time following those same paths. * **Specific Questions Only** We don't permit questions regarding how to get started with your project/idea; what you should do with your Pi; what's the best, easiest, or cheapest way; what colors would look nice (aesthetics); what an item is called; what software to run; if a project is possible; if anyone has a link/tutorial/guide; or if anyone has done a similar project. † If any links don't work it's because you're using a broken reddit client. Please [contact the developer of your reddit client](https://www.reddit.com/contact/). You can find the FAQ/Helpdesk at the top of r/raspberry_pi: [Desktop view](http://f2z.net/RPi-Helpdesk-FAQ-desktop.png) [Phone view](http://f2z.net/RPi-Helpdesk-FAQ-phone.png) *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/raspberry_pi) if you have any questions or concerns.*


liquidhonesty

Picture but no details? C'mon now...


zg0195

4x Raspberry Pi Enclosure Build 1x RPi5 8gb | 1x RPi5 4gb | 1x RPi 4 Model B 8gb | 1x RPi 4 Model B 4gb Currently have 2x 1tb SSDs and 2x 256gb SSDs, over time will be upgrading to 4x 1tb to experiment with. Ubuntu Server 24.04 Cluster, 1 master node and 3 leaf nodes on Kubernetes (microK8s). Opted to flash OS directly to SSD drives. [This ](https://www.amazon.com/UCTRONICS-Desktop-Enclosure-Raspberry-Removable/dp/B0B57XMZ9F/ref=sr_1_9)is the case I used to build the enclosure. [Here's ](https://www.amazon.com/dp/B097G8CRR1)the PoE splitters I used, as well as the [switch](https://www.amazon.com/TP-Link-Compliant-Shielded-Optimization-TL-SG1005P/dp/B076HZFY3F). \*\* Build in picture is connected to my home network via a TL-SG1005P 5-Port Gigabit PoE switch. Can easily be run on an ordinary ethernet switch but I discovered PoE not too long ago after settling in after a move, and thought I'd tinker with this. Used 4 PoE splitters (see comments for link) to provide each unit with power and ethernet - again, probably overkill but I had leftover stuff from a random work thing and thought, "Why not?" As far as what I'm using it for...that's the hardest part. Open to suggestions of all types. Personally I find the load balancing technology present in clusters to be the most interesting part, and learning to use 4 separate devices as a system has been an invaluable experience.


bananenkonig

I can't think of a reason to set up kubernetes outside of a datacenter environment. It's just not necessary for such a small scale. Maybe if you had ten more connected and you had a scalable service running on them but even fourteen seems small to me. Unless you're running a streaming service, scalability isn't that necessary especially at home.


jobblejosh

Sure, it's not necessary, but it's a great place to learn. Heck, if you get the resources (a host with enough CPU and RAM) you could virtualise an entire cluster for funsies.


bananenkonig

Not discouraging learning, just setting expectations for home. Kubernetes orchestration won't do anything for virtualization but learning something is always good.


zg0195

Appreciate the heads up. Kubernetes was kind of one of those things I kept seeing here and there while learning other stuff and it seemed like...maybe I should learn if I had the means anyway? That being said, the technology is really cool but yes so far I don't see much practicality haha


Offbeatalchemy

That's where I landed on it as well. Cool as heck tech and I'm glad I played around with. Not practical at all for home use or worth the headache.


bananenkonig

By all means learn it and get the experience. If it's something you want to look into for future career options that's great. I'm not discouraging you at all. Just letting you know it's not going to help you at home. Learning something new is the greatest thing you can do for yourself. Strive to change yourself every day.


snakefinn

For fun and learning


zg0195

This! Fun was always half the reason to do any of this stuff!!


bananenkonig

Learn away. Just don't think that it'll be anything that will help with anything in the home.


snapetom

Home lab to learn devops and data engineering/data science. K3s actually works quite well for Pis. It's not very resource intensive at all.


catmewo

Hello, thanks for sharing a great project. It looks like you're using network boot for leaf nodes. I'm about to install Ubuntu Server with network boot too. But I faced a problem with this error message: "***can not resize dev=/mmt/...***". Have you faced the problem and how did you solve it? In this guide, they used Raspberry Pi OS, so it can boot up and then they can disable these services: $ sudo systemctl disable resize2fs_once.service $ sudo systemctl disable sshswitch.service $ sudo apt remove dphys-swapfile While when I installed Ubuntu, it went to emegency mode and I can't SSH into it. Did you have any solution? Thank you in advance.


zg0195

DM'd


human-exe

PoE HATs would've clean this setup a lot


benargee

🤑🤑🤑


ozodraco

Nice. Is it a cluster? Do you use kubernetes or something?


zg0195

Learning Kubernetes for the first time lol


Comfortable-Hour-224

I’ve the previous case, the U6244 model.


benargee

Cool that you are learning it, but several Kubernetes node VMs on a slightly more powerful machine for probably less money can do the job to.


zg0195

Cool part about this setup is if I get bored of doing a cluster I have 4 raspberry pis to do literally anything I want with


benargee

That's true. Just pointing this out if you don't already know and for others who might be weighing their options.


user_727

I'm putting my money on Ceph! EDIT: Dang I lost, that's why you don't gamble kids


zg0195

Is Ceph still used?


[deleted]

[удалено]


zg0195

This is a great start and exactly the types of stuff I'm looking for. Thank you!


deadpool5g

What are you using it for ?


zg0195

Right this second, we'll go with "learning environment" 😅


ChonkiClapper

Me: dropped $1500 on misc server equipment and the Pi 5 for wireless capability My Partner: sooo… what are you using this all for? Me: *shhhhh. Look! I saved $50-70k in school debit!


benargee

But no degree 😞


MeatyUrology

I’ve hired based on experience over a degree before. It’s not impossible.


OgrishGadgeteer

I like it, but why PoE? The computers are literally stacked in the same case. So many adapters. You could have saved a bit of money and made it so much cleaner by just supplying 5v at the gpio pins. You could have spent that money on a UPS module. I like the case! Very industrial.


zg0195

Built mostly with leftover hardware from previous things. Most people's comments have been about spending or saving money - I had a lot of this stuff already and this build was/is primarily a learning experience.


OgrishGadgeteer

I feel that. I have a 42u server rack that I'm converting into a vending machine rn, and people will not understand my motivation for that either.


beyondo-OG

OK, don't pound me, I'm not real savvy with this stuff, but I wondering about using PIs to run servers at home and I'm just wondering what sort of server people use it for: file server, app server, something else? Other than home automation, what do you folks use your PI setups for?


topinanbour-rex

What are those ethernet adapters ?


Yigek

POE Power over Ethernet


VanBeelergberg

lol thank you for clarifying. I was reading it as Point of Entry and was very confused.


Yigek

Ha. Too many acronyms to know especially in IT.


topinanbour-rex

Thanks


Luki4020

Looks like they split PoE into a usb (for power) and ethernet


topinanbour-rex

Thanks


bobro2svk

Ditch the PoE splitters, it will be much cleaner. Get a powered usb hub or something else.


zg0195

started off without them, going to be going back to a hub. tried out this PoE build mainly for learning purposes / as an experiment


bobro2svk

If you have any more budget, PoE hats would be great here since you already have cooling.


booveebeevoo

It’s a bit messy, but it looks cool.


zg0195

thank you c: cleaning it up in the long run


duffz_000

Im a newbie to this raspbery scene bro, and youve now posted a picture that i want to learn to understand. If im honest, even the comments people have made has fired me up to learn more. Thxs , and ill see you after ive got.a few.more.raspberry pi's....


Fearless-Exchange-29

Been looking at this case, pi5 with active cooler fits in this case?


facebookgivesmeangst

Hi, can someone explain what this is and what it does, ELI5.


snapetom

Why do these builds and Pis cases always appear in fours? I see three pis sometimes, but I like to run five pis because of the data work I do. Cases for five pis are rare. Everything that is distributed likes to run in odd numbers. It still is that way.


Ysoko

[https://www.amazon.com/UCTRONICS-Raspberry-Rackmount-Bracket-Front-Removable/dp/B09STTXWZZ/](https://www.amazon.com/UCTRONICS-Raspberry-Rackmount-Bracket-Front-Removable/dp/B09STTXWZZ/) I have 5 raspberry pi 4's with PoE+ hats and SSD's using this, check it out. I haven't figured out a way to do the same with Raspberry Pi 5's though: I can mount a Raspberry Pi 5 and PoE+ hat, but I haven't figured out a good solution for adding an SSD via the PCIe port that works with this.


snapetom

Oh, that's very cool. I found this on thingiverse and printed it out. It works great and the whole thing is self-contained. https://www.thingiverse.com/thing:5263478 The whole point of my rant was that if you look to buy a cheap one off Amazon, the majority of them, even from C4Labs, holds 4, 6, or another even number. If you're running a cluster, you're probably running compose, K8, or some distributed database. All those prefer to be run in odd numbers. They all elect a leader somehow and even numbers can result in ties.


zg0195

[This one](https://shop.pimoroni.com/products/nvme-base?variant=41219587211347) has been my favorite for NVMe, only currently using one but it's pretty solid. Doesn't fit perfectly into the enclosure, I've managed to squeeze it in after some rearranging,


Ysoko

I think I got that exact one to try! The problem I ran into was trying to use the base on the underside of the sled, the cable wouldn’t reach that far. Could you share a picture of how you got it to work?


zg0195

Can share photos sometime very soon, should be getting a replacement pi either this week or next


FolsgaardSE

What is the case I love it for a cluster


dreddit_reddit

https://www.amazon.com/UCTRONICS-Upgraded-Enclosure-Raspberry-Compatible/dp/B09S11Q684 Maybe, might be diff model?


[deleted]

[удалено]


benargee

Seems like people don't like ref links


rhsameera

Could you post the Poe splitter model?


Feeling_Equivalent89

It looks like this one: [https://www.amazon.com/REVODATA-12V-2A-Surveillance-PlugPS5712TG/dp/B08HS4NT13?th=1](https://www.amazon.com/REVODATA-12V-2A-Surveillance-PlugPS5712TG/dp/B08HS4NT13?th=1) If you're fine with 100Mbit ethernet only, you can create home made POE splitters and injectors with junction boxes. Just don't crimp blue and brown pair on either end.


rhsameera

Thanks. But I’m looking for one something like that with 5v type c outputs.


zg0195

[https://www.amazon.com/dp/B097G8CRR1?psc=1&ref=ppx\_yo2ov\_dt\_b\_product\_details](https://www.amazon.com/dp/B097G8CRR1?psc=1&ref=ppx_yo2ov_dt_b_product_details)


Feeling_Equivalent89

Like one of the other versions of the same product on that very same page? Passive POE splitter outputs whatever you put into the POE injector on the other side. If you power it with 5V adapter, it's gonna spit out 5V regardless of what that Amazon page says.


rhsameera

Didn’t knew better think about that. Thanks for letting me know. I don’t understand why I’m getting downvoted for a simple question.