Skip to content

Instantly share code, notes, and snippets.

@dPacc
Last active September 8, 2021 20:45
Show Gist options
  • Save dPacc/ddab2d2e9763aa403248074257e00456 to your computer and use it in GitHub Desktop.
Save dPacc/ddab2d2e9763aa403248074257e00456 to your computer and use it in GitHub Desktop.

Minikube

After you install minikube on a bare-metal server.

The default command to start the cluster is: minikube start --force --driver=docker

If you start, using the above command, the cluster wont be able to pull images from docker-hub as the network requests would be blocked.

To fix this, add the minikube and localhost IPs to the NO_PROXY IP list: set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24

Now start the cluster using the command: minikube start --vm-driver=none --docker-env NO_PROXY=$NO_PROXY

This way, the pod would be able to pull image from docker-hub

REFERENCE: https://developer.ibm.com/tutorials/set-up-minikube-on-ubuntu-server-within-minutes/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment