Skip to content

Enable support for IPv6 for Kubernetes #778

Open
@mridang

Description

@mridang

Tell us about your request

Docker Desktop now seems to be support IPv6 networking but K8 doesn't seem to support it as yet. docker/for-mac#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
      }
   ]
}

Metadata

Metadata

Assignees

Labels

community_newNew idea raised by a community contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions