kubernetes-sigs/cluster-api

Updating Cluster network configuration for single stack to dual-stack upgrades

開放

#6,951 建立於 2022年7月18日

 (21 則留言) (2 個反應) (0 位負責人)Go (1,532 個分叉)auto 404
help wantedkind/featurelifecycle/rottenpriority/backlogtriage/accepted

倉庫指標

星標
 (4,267 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

User Story

As an operator I would like to update the cluster network configuration for an existing Cluster resource for upgrading a single stack Cluster to a dual-stack Cluster.

Detailed Description

I'd like to be able to add the cidr range for an additional IP family to spec.clusterNetwork.pods.cidrBlocks and spec.clusterNetwork.services.cidrBlocks e.g If I have a single stack IPv4 cluster with IPv4 cidr ranges I'd like to be able to add IPv6 cidr ranges to the cidrBlocks to upgrade my cluster to a dual-stack cluster.

Updating the cidrBlocks on a Cluster needs to be able to reconcile the KubeadmControlPlane with the additional CIDRs. Right now it seems like the KubeadmControlPlane disallows changes to the clusterConfiguation.networking.{serviceSubnet,podSubnet} and updating the cidrBlocks on a Cluster also does not affect the KubeadmControlPlane.

Anything else you would like to add:

/kind feature

貢獻者指南