cloudposse / geodesic

🚀 Geodesic is a DevOps Linux Toolbox in Docker
https://cloudposse.com/accelerate
Apache License 2.0
944 stars 121 forks source link

Add Better Support for Minikube #204

Open osterman opened 6 years ago

osterman commented 6 years ago

what

why

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 commented 5 years ago

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