Add dual-stack IPv4/IPv6 support for OpenStack shoots#1257
Add dual-stack IPv4/IPv6 support for OpenStack shoots#1257axel7born wants to merge 3 commits intogardener:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Thanks for implementing this. I'd like to point out that there are setups that don't use subnet pools with IPv6. We run some internal networks where an IPv6 subnet is routed statically from some firewalls. Currently, we create shoots with a fixed IPv4 CIDR, which is also routed within the broader corporate network: This would work the same with IPv6 subnets, but requiring a subnet pool ID would prevent us from implementing this. It would be great if we can still get support for explicit IPv6 CIDRs. |
|
Hi @fzakfeld
By now it's not possible in the Shoot spec to specify IPv4 and IPv6 CIDRs for node, pods and services. |
- Add SubnetPoolID field to InfrastructureConfig for IPv6 subnet allocation - Create separate IPv6 subnets for nodes, pods, and services from subnet pool - Add validation requiring SubnetPoolID for dual-stack configurations - Update machine classes to support dual subnets and pod network CIDRs
It was a conscious decision to move away from providing the IP ranges for IPv6 upfront in most cases and let the infrastructure handle it. I would prefer to keep it that way. @kon-angelo What do you think? |
|
Hey @fzakfeld, |
|
Hi @axel7born
Does this mean I'll provide, lets say a /56, and this gets somehow automatically split up in smaller prefixes for nodes, pods and services? Or do I specify them individually like with IPv4 now? |
|
This change implements dual-stack networking support (IPv4/IPv6) for OpenStack Kubernetes clusters, allowing users to deploy clusters with both IPv4 and IPv6 connectivity. The implementation provides two configuration approaches: automatic IPv6 allocation via subnet pools or explicit IPv6 CIDR specification. Walkthrough
Model: claude-sonnet-4-20250514 | Prompt Tokens: 17340 | Completion Tokens: 215 |
How to categorize this PR?
/area networking
/kind enhancement
/platform openstack
What this PR does / why we need it:
This PR adds dual-stack (IPv4/IPv6) networking support for OpenStack shoots.
The implementation creates separate IPv6 subnets for nodes, pods, and services, allocated from a configurable OpenStack subnet pool. This approach ensures proper address scope management and compatibility with external routing infrastructure.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: