Skip to content

Introducing IPv6 on existing Cluster #7186

@pschichtel

Description

@pschichtel

Hi there! This is more of a discussion/question, since I'm pretty sure this is not officially supported, neither here nor upstream. I still want to try though. I have an existing 3 node (controller+worker) bare-metal cluster on 1.35.1. This is a home lab, so I'm willing to toy around and potentially break things, even though I'd prefer not to break it.

The cluster is currently on IPv4-only since back when I originally set the cluster up, kube-router didn't support IPv6/Dual-Stack.

Just simply enabling dual stack and settings the cidrs is clearly not enough.

Doing that makes the kube-controller-manage fail with:

failed to mark cidr[10.0.0.0/24] at idx [0] as occupied for node: server: cidr 10.0.0.0/24 is out the range of cluster cidr 1111:1111:1111:1111::1:0/112

From my research that might be because the node objects don't have an IP in the new IPv6 cluster cidr. Unfortunately the IP can't just be added to an existing node.

Can I just drain and delete a node and have k0s register it again?

Any input on this? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions