Skip to content

Switching CNIs #43

@hown3d

Description

@hown3d

How to categorize this topic?

/area networking
/kind enhancement
/label teamsize/medium

What is the topic about?:
Currently it is not possible to switch CNIs in gardener since it is marked as immutable in the shoot spec.
While it makes total sense to have that footgun locked behind closed doors as it is possible to encounter downtime in your cluster, it might be worthwhile to experiment with.

With both CNIs in native routing mode, a router controller from your cloud controller manager running and some migration code in gardener, it should be possible to achieve such a switch without downtime.
For reference:

There are a lot of blogs and docs about doing Cilium migrations with overlay networking, but I think it's the most easiest to focus on native routing as it should be the easiest.

Special notes for your reviewer:
At STACKIT Kubernetes Engine we currently run Calico for all clusters in our environment but want to offer Cilium as well which we would like to run our ManagedSeeds with as well.
Because we cannot change our existing seeds to Cilium, we would need to do Control plane migrations, which causes downtime for our customers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Q2/2026This topic is relevant for the hackathon in Q2/2026.area/networkingNetworking relatedkind/enhancementEnhancement, improvement, extensionlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.teamsize/mediumA team of 3 people.

    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