I’m actually using MicroK8s through Multipass. Basically, it’s Canonical’s K8s stack. It’s fantastic and I highly recommend it.Out of interest , are you running Minikube or a multi node K8s cluster (ie, with Vagrant) on your machine ? And with running multiple VMs at same time how does the machine cope in terms of fan noise and thermals?
I have the same use case and really want to go for the i9 and 64GB, but held back with all the talk about loud fan noise on this spec - although not intending to use a 4K external monitor in my case which seems to cause much of the complaints about fans, my main concern is having to shutdown VMs to stop the machine sounding like a jet engine.. which clearly won’t be ideal when you pay for all those extra cores and RAM.
The VMs I tend to run at the same time are: Ubuntu (for MicroK8s), Windows 10 (for various things, VMWare, bootcamp partition), Docker’s VM (used to be called Docker Machine, now it doesn’t have a name and is lower level), and another Ubuntu VM (with a desktop environment, also VMWare) for various things. I run a single Kubernetes node locally because for the work I do, I don’t care about underlying implementation of how my pods are being provisioned, plus I don’t need the same kind of redundancy and fault tolerance I would expect in a production environment.
If everything is idle, no fans turn on. But there is one exception; there is a known bug in Docker on macOS that puts HyperKit (the macOS hypervisor) into some kind of infinite loop, pegging a CPU core at 100%. Fans will turn on here, for sure, but that’s a bug and you can always close Docker. I don’t need Docker running unless I’m actively building images, which isn’t a majority case.
Obviously, if I’m running large pipeline jobs, all resources are maxed out. So yes, CPU gets up to 100% on all cores and the fans turn on if it’s a long job. But I mean... duh?
If I’m using the computer normally without any VMs (normal usage for me is iTerm, Firefox, Outlook, one or two JetBrains products, Apple Music, and Messages) then I get something around 10+ hours. It’s INSANE. In the beginning, I thought the battery indicator was broken because it was barely ticking down. But yea, I think I can get almost 11 hours if I really squeeze it, but 9 at a minimum is absolutely no problem at all.
Docker’s lower level VM has nearly zero impact on battery life while idle, other than if you hit the bug I mentioned earlier. I don’t feel it.
The Ubuntu Server VM running my Kubernetes cluster.... I really have no idea about it bare, but while it’s running my whole cluster, it knocks my battery life down to about 8 hours if idle, maybe 7 if I have to restart it often. That is, my apps are running, fully hydrated (memory has ballooned to 32 gb), performing health checks, and chaos monkey is running. Startup is bad on battery because my software is extremely IO and CPU intensive at that time, but again, that’s common sense.
The Windows and Ubuntu Desktop VMs at idle eat about another hour of battery life at idle. It seems to not matter if I run one or both of them; they eat about the same amount of battery combined as they do one at a time.
So basically, I can get 6-7 hours with absolutely everything running, but idle. That’s positively insane. Keep in mind that I’m coming from a maxed out 15 inch MBP and it did the same thing, but I got about 4 hours.
However, real-world, if I’m running data sets through my code, there’s a 99% chance I’ll be plugged into a charger. So I have no idea what kind of battery life I’d get under those conditions, but it should be obvious that it’s bad. Also, real-world, I’m very likely not running the K8S cluster at all if I’m on battery, since I really don’t need the whole cluster for small tests. At that point, I just use the host macOS and bootstrapping/test-harness scripts I’ve written, including running dependency microservices directly on the host.
That’s just the way I work, though. Everyone is different.
But yea... No other machine will get you this battery life, at any price. And the fans stay silent when you’re not taxing the system, even if you’re running N virtual machines. Don’t worry about it.
The fans will turn on when it makes sense.
Hope this helps!