geodesic icon indicating copy to clipboard operation
geodesic copied to clipboard

Add Better Support for Minikube

Open osterman opened this issue 7 years ago • 1 comments

what

  • Add support for Docker for Mac (DFM) Kubernetes or Minikube

why

  • Faster LDE, protyping
  • Testing Helm Charts, Helmfiles

howto

I got it working very easily.

image

Here's what I did (manually):

  1. Enable Kubnernetes mode in DFM.

image

  1. Disable the DOCKER_DNS stuff that points to 8.8.8.8 in the wrapper script as it breaks DFM DNS resolution of docker.for.mac.localhost
  2. Update /localhost/.kube/config to use FQHN for Docker host docker.for.mac.localhost
  3. export KUBECONFIG=/localhost/.kube/config
sed -i 's,https://localhost:6443,https://docker.for.mac.localhost:6443,g' /localhost/.kube/config

I'd like us to simplify this process so it basically works out-of-the-box.

osterman avatar Aug 01 '18 00:08 osterman

https://github.com/kubernetes-sigs/kind

osterman avatar Jan 11 '19 01:01 osterman