I'm in the market for a new MacBook for cloud development, particularly for working with containers and Kubernetes. I'm trying to weigh the pros and cons of the MacBook Pro with the M4 Pro chip against the MacBook Air with the M4 chip, both with 24GB of RAM. I've got some experience with Kubernetes, mostly running a local dev environment with a minikube cluster that included various pods like PostgreSQL, Redis, a Django app, and Celery workers. My Docker Desktop indicated that the minikube setup used around 13GB of RAM. Given this, I'm wondering if 24GB of RAM will be sufficient to run everything smoothly along with my IDE, a web browser, and some CI tests. I'd appreciate any input based on your experiences!
5 Answers
It sounds like you're running some substantial workloads! Just to clarify, what exactly do you plan to do with Kubernetes and those containers? Are you aiming to run everything locally or do you have an external cloud setup? I work with a big cluster at my job, but my MacBook Air, even though it's an older model, is handling lighter Kubernetes work just fine. If you're sticking with a local setup, definitely keep an eye on RAM usage, but for most dev tasks, 24GB should be okay.
For your price range, I suggest the MacBook Air with the 32GB option if you can afford it. Depending on your cluster size and needs, optimizing your RAM is a smart move. You might find yourself needing more for local clusters or heavy development, and don't forget, the storage space could be borderline insufficient with just 256GB. Aim for more storage if you’re going to build multiple images.
Honestly, I think 24GB is going to be perfectly fine for your needs, especially since you have experience running a minikube cluster. I've even managed to use a setup on a much older machine with just 8GB, so 24GB gives you some extra wiggle room. That being said, if you really plan to ramp up your workloads, consider if you want to invest in larger RAM options.
I've been using an M1 for Kubernetes without any issues, even though it's getting a bit long in the tooth. My local container building is decent with Docker buildx, but once my projects stabilize, I deploy on EC2 x86 instances. If you're looking at 24GB, you're probably good for local dev, but consider how often you want to push workloads to the cloud. That said, if you can swing it, I'd recommend maximizing your RAM to future-proof your setup.
Honestly, 24GB should be sufficient. But if you can find a refurbished M3 with 32GB RAM, go for that! I'm on an M2 MacBook Pro for development, and I'm not pushing it hard. Just remember that a lot of your heavy lifting can be handled in the cloud too.

Related Questions
Lenovo Thinkpad Stuck In Update Loop Install FilterDriverU2_Reload