-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minikube support? #22
Comments
I'm talking about minikube. I'm aware of the Docker Desktop option, but I use the profile functionallity of minikube. By default, minikube runs a dedicated docker daemon inside a container which is accessable by |
Got it, thanks for confirming. I will take a look at this when I get a moment. In the mean time, can you confirm if you've tried this yourself? You will need a |
Hi @gregnr on my machine, minikube runs on top of an existing docker daemon. For example, minikube will re-use the Docker Daemon from Docker Desktop (mounted as /var/run/docker.sock) and will create one container. This minikube container will spin up a dedicated Docker Daemon (real docker in docker) and a Kubernetes environment
An alternative approach would be k8s-mac-net-connect where a Kubernetes Pod is used instead a docker container. Additionally, I may need multiple instances of docker-mac-net-connect (one for docker, one for kubernetes) however at this moment, only one instance is supported because the port is hardcoded. |
@jkroepke you're right, we should allow Thanks for the explanation. Understood about After we make the Docker daemon API endpoint configurable (#24), in theory you could then point it to your Re: |
The idea of k8s-mac-net-connect was to expose the Kubernetes Pod CIDR and Service CIDR and not the underlaying docker networks. The Pod/Service CIDRs are static. Minikube is only of one of very few distributione hat using docker as runtime. Containerd ist most common here. If docker desktop is not avalible, minikube is setup a hyperkit virtual machine with docker daemon. |
can't connect to the k8s cluster running on docker-desktop on Mac,I tried to ping node ip with kubectl get node -o wide |
Not sure if exactly the same as needs of original poster, but I was struggling to get a nice access to the LoadBalancers of K8s services after moving to Mac. Everything used to work like charm on Linux using MetalLB. This project was a god-sent and solved most of my issues. I wrote down my findings as a gist here - sharing hoping that others find it useful. |
I would like to know if its possible to connect to the kubernetes pod and service network the same way as to the docker network?
Scope: minikube on Docker for Desktop
The text was updated successfully, but these errors were encountered: