Minikube VMs under Hyper-V loses eth0:0 configuration

4/30/2020

I have several Hyper-V VMs used for development and testing that was created using Minikube (it is a multicluster setup with a Docker registry (using Docker machine) in a separate setup). The VMs get assigned IP addresses on startup, so to have static addresses to the VMs (for scripting and Docker registry setup), I assign a static address via e.g. sudo ifconfig eth0:0 172.17.5.100. Everything works (mostly) fine, except every now and then the assigned eth0:0 address disappears and I have to redo the above command.

  • Why?
  • How can I prevent the address from disappearing?

Thanks

-- Pirowe
hyper-v
kubernetes
linux
minikube
networking

0 Answers