Skip to content

Instantly share code, notes, and snippets.

@amandeeprehal-lab49
Last active July 15, 2021 13:04
Show Gist options
  • Save amandeeprehal-lab49/2af0fbc61109f54b35cb4f64573912d2 to your computer and use it in GitHub Desktop.
Save amandeeprehal-lab49/2af0fbc61109f54b35cb4f64573912d2 to your computer and use it in GitHub Desktop.
TWL-Lab49/Kubernetes - Minikube - Hyperkit: VM is unable to access k8s.gcr.io or pull images

Problem - Minikube is coming up but could not connect to internet or pull images.
Environment - Hyperkit driver on Mac even if VPN is off

If you are following instructions on this page https://minikube.sigs.k8s.io/docs/start/ to start minikube on Mac using Hyperkit driver and if its failings saying VM is unable to access k8s.gcr.io, please use below command to start it -

minikube start --vm-driver=hyperkit --hyperkit-vpnkit-sock=auto 

It has been mentioned on the documentation - https://minikube.sigs.k8s.io/docs/drivers/hyperkit/#special-features Also reference of this has been provided on this issue - kubernetes/minikube#6296

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