mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.7k stars 4.54k forks source link

Fix for Mac #290

Closed harsha-s closed 2 years ago

harsha-s commented 2 years ago

❯ vagrant up Bringing machine 'master-1' up with 'virtualbox' provider... Bringing machine 'master-2' up with 'virtualbox' provider... Bringing machine 'loadbalancer' up with 'virtualbox' provider... Bringing machine 'worker-1' up with 'virtualbox' provider... Bringing machine 'worker-2' up with 'virtualbox' provider... ==> master-1: Clearing any previously set network interfaces... The IP address configured for the host-only network is not within the allowed ranges. Please update the address used to be within the allowed ranges and run the command again.

Address: 192.168.5.11 Ranges: 192.168.56.0/21

Valid ranges can be modified in the /etc/vbox/networks.conf file. For more information including valid format see:

https://www.virtualbox.org/manual/ch06.html#network_hostonly

fireflycons commented 2 years ago

Hi @harsha-s

Yesterday we have merged a major change to bring this to Kubernetes 1.24. As part of this change, we have changed the VM IP range to 192.168.56.0/24 thus incorporating your change. We have also made it easier for people to change this on an individual basis (see instructions in 01-prerequisites).