I have k8s installed on a ubuntu20.04 with coredns as custom dns service.
Then i deployed an empty ubuntu docker container using
docker run -it --name test-ubuntu ubuntu:20.04 /bin/bash
Then for some reason, /etc/resolve.conf in the test-ubuntu container looks like
which is clearly something only pods launched with k8s should have. My guess coredns is somehow affecting other docker containers too but i do not understand how this can happen.