Hey everyone! I'm working on setting up a Kubernetes cluster for my home lab, and I'm thinking about using Mac minis for this project. My main goals are to ensure reliability and power efficiency. I'm considering getting used M1 or M2 models with Asahi Linux, which seems to be a solid option except for potential hardware compatibility issues. On the other hand, I noticed that the new M4 Mac minis are priced pretty affordably at around $599, and I'm curious if running Kubernetes on macOS is a viable path since I know cgroups won't work on macOS. I'm specifically looking for insights from anyone who has experimented with M1, M2, or M4 Mac minis, ideally in multiple physical setups. Also, do you think using service meshes like Istio poses any issues if I'm not running Asahi Linux? Thanks in advance!
2 Answers
Hey! Just wanted to chime in that while the Mac minis are nice, you might want to rethink this approach. A cluster of old Raspberry Pi devices with SSDs would likely yield better performance and cost-effectiveness for Kubernetes. They’re really power-efficient, cheaper than Mac minis, and don’t require the complexities of virtualization. I’d also recommend steering clear of SD cards as they can fail quite often. I've set up various types of clusters, and honestly, Mac minis might be a hassle long-term due to the sudo-virtualization issues on macOS. Just my two cents!
Thanks for sharing your experience! Sounds like I might have to rethink this after reading your comments.
I’m looking to do something similar and will keep an eye on this thread. I’ve been considering grabbing a couple of mini PCs like those from MinisForum, but if the Mac minis end up working well for Kubernetes, I might lean that way instead.
That’s exactly what I need, haha! But I'm mainly focused on speed and power efficiency for learning Kubernetes. I think I’ll still consider the older M1/M2 models based on your advice.