roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Enable support for IPv6 for Kubernetes

Open mridang opened this issue 1 year ago • 1 comments

Tell us about your request

Docker Desktop now seems to be support IPv6 networking but K8 doesn't seem to support it as yet. https://github.com/docker/for-mac/issues/1432

Which service(s) is this request for?

Docker Desktop for Mac.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

I would like to be able to connect to the internet from K8 pods using IPv6.

Are you currently working around the issue?

No.

Additional context

This could be fixed by simply editing the CNI configuration on the host VM. I've tried it but seems to revert back when Docker Desktop for Mac restarts.

{
   "cniVersion":"0.3.1",
   "name":"default",
   "plugins":[
      {
         "type":"bridge",
         "bridge":"cni0",
         "isDefaultGateway":true,
         "ipMasq":true,
         "hairpinMode":true,
         "ipam":{
            "type":"host-local",
            "subnet":"10.1.0.0/16",
            "gateway":"10.1.0.1",
         },
         "dns":{
            "nameservers":[
               "10.1.0.1"
            ]
         }
      },
      {
         "type":"portmap",
         "capabilities":{
            "portMappings":true
         },
         "snat":true
      }
   ]
}

mridang avatar Jan 24 '25 06:01 mridang