Skip to content

Kindnet IPv6

Latest
Compare
Choose a tag to compare
@aojea aojea released this 12 May 21:05
· 178 commits to aojea/ipv6 since this release

This release allows creating IPv6 Kubernetes clusters with kind, it adds a new option ipFamily to the v1alpha3 API that allows choosing the IP family of the cluster.

To avoid issues with the different networking options the podSubnet and the serviceSubnet kubeadm values are predefined with the following values:

	DefaultPodSubnet          = "10.244.0.0/16"
	DefaultServicesSubnet     = "10.96.0.0/12"
	DefaultPodSubnetIPv6      = "fd00:100:64::/64"
	DefaultServicesSubnetIPv6 = "fd00:10:96::/112"

Kind uses Calico as CNI network plugin

We can create a Kubernetes IPv6 cluster with the following config:

# necessary for conformance
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
networking:
  ipFamily: ipv6
nodes:
# the control plane node
- role: control-plane
- role: worker
- role: worker