Documentation for properly configuring Talos DNS configuration to leverage Docker desktop internal DNS. This may go under the Kubernetes guides on talos.dev?
Description
It should be possible to configure DNS settings in Talos machine config to allow resolving to the Docker host IP using host.docker.internal, or resolve to container IPs by container name when running on the host Docker engine rather than only containers running inside the cluster. This second part is really nice when running local registry mirrors.
This is most useful for folks who are developing locally with docker desktop on a Mac or Windows environment. I've managed to get this mostly working in my setup but then encountered a DNS recursion issue and got too busy to troubleshoot it. I want to iron this out soon and then add this documentation. If you could assign this to me, I would take it.
Feature Request
Documentation for properly configuring Talos DNS configuration to leverage Docker desktop internal DNS. This may go under the Kubernetes guides on talos.dev?
Description
It should be possible to configure DNS settings in Talos machine config to allow resolving to the Docker host IP using
host.docker.internal
, or resolve to container IPs by container name when running on the host Docker engine rather than only containers running inside the cluster. This second part is really nice when running local registry mirrors.This is most useful for folks who are developing locally with docker desktop on a Mac or Windows environment. I've managed to get this mostly working in my setup but then encountered a DNS recursion issue and got too busy to troubleshoot it. I want to iron this out soon and then add this documentation. If you could assign this to me, I would take it.
Example of what this would enable:
machine config:
docker-compose.yaml: