0

I have 3 Ubuntu VMs where all of them have 2 interfaces. One interface with v4 address and other with both v4 and v6 address. 3 VMs are reachable from each other on all 3 (2 v4 and 1 v6) addresses.

I'm trying to install Kubernetes Cluster with Calico where I need both pod and service IPs should be dual stack supported. I searched and tried a lot - IPv4-only works fine. Any mix of IPv6 fails in kube-proxy, or kube-dns or calico.

I'm posting a question here to ask whether any fellow administrator have installation procedure for kubernetes with IPv6 (Calico).

Kindly help.

0

Don't know what was already done, but you'd start with creating your CNI config file /etc/cni/net.d/10-calico.conf with enabled dual-stack networking, similar to :

{
    "name": "calico-k8s-network",
    "type": "calico",
    "etcd_endpoints": "http://<Your-ETCD>:2379",
    "etcd_ca_cert_file": "/var/lib/kubernetes/ca.pem",
    "ipam": {
        "type": "calico-ipam",
        "assign_ipv4": "true",
        "assign_ipv6": "true"
    },
    "policy": {
        "type": "k8s"
    },
    "kubernetes": {
        "kubeconfig": "/var/lib/kubelet/kubeconfig"
    }
}`
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.