Hello,
In course "Course: Kubernetes for the Absolute Beginners ", Module 60. Demo-Setting up VM on Mac, I am facing issues as the given deploy script is not working properly.
- I have installed Multipass (multipass-1.16.2+mac-Darwin.pkg) in Apple M3 Pro version 26.3.1.
- Out of total 36GB, I have 26GB free memory available.
- I am using the given Shell script to deploy 3 instances. But the script kept working all night and didn’t finished.
++++++++++
./deploy-virtual-machines.sh
Configuring bridge network...
Configuring bridge to interface 'en0 wifi Wi-Fi'
Launching controlplane
Configuring controlplane /
Troubleshooting Tried:
a. I tried re-installing the software couple of times but, no progress.
b. Also taking suggestion from Gemini, I modified line no. 133 in the deploy-virtual-machines.sh, but it didn’t helped.
==> The “Wi-Fi Bridge” Bottleneck: When you select en0 (Wi-Fi) as a bridge, Multipass tries to give the VM a real IP from your home/office router. If your router or the macOS Wi-Fi stack rejects this, the VM will hang in “Starting” state forever while waiting for a DHCP response.
The Fix: Force the script to use NAT mode instead of BRIDGE. NAT uses a virtual internal switch that doesn’t rely on your physical router’s permission.
- Open deploy-virtual-machines.sh.
- Find the line BUILD_MODE=“BRIDGE”.
- Change it to BUILD_MODE=“NAT”.