Add CUDN Localnet fabric integration guide#36
Conversation
Document how to connect KubeVirt VMs to a physical fabric using CUDN Localnet topology with VLAN tagging on br-ex. Covers setup, multi-cluster IP partitioning, and verified test results across all connectivity combinations (same/different vnet, same/different VPC, same/different cluster). Includes Mermaid diagrams for all networking flows. Signed-off-by: Dan Manor <dmanor@redhat.com>
|
Warning Review limit reached
More reviews will be available in 59 minutes and 37 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ori-amizur
left a comment
There was a problem hiding this comment.
-
What is the reason for preferring the VLAN/Localnet approach over tunneling? With tunneling, nodes don't need L2 adjacency, no switch port configuration is required, and the cluster controls the full networking stack. What does Localnet achieve for OSAC that tunneling cannot?
-
VLANs require configuration on switch ports (VLANs, trunks, VRFs, gateways). This must be done by network administrators, or by a fabric controller. Are we OK requiring this from our customers, especially when automatic configuration is not available (e.g., bare metal switches)?
-
Localnet CUDN is always a secondary network, so VMs will always have two interfaces: one for the pod network and another for localnet traffic. This is a constraint that will be hard to explain to VM users. It also means that cross-subnet routing requires manual static routes on VMs, since the default route points to the pod network.
-
The document itself mentions EVPN and VRF-Lite as alternative CUDN topologies that support role: Primary (avoiding the dual-interface constraint) and automatic cross-subnet routing (no manual routes). Have these alternatives been considered?
|
Closing in favor of the enhancement proposal: osac-project/enhancement-proposals#80 The content from this guide has been converted into a proper EP in the enhancement-proposals repo, linked to OSAC-1511 / OSAC-1830. |
Pull request was closed
Add PRD (requirements) and EP (design) for the first k8sManager backend: CUDN LocalNet for bridging KubeVirt VMs to the physical fabric via VLAN tagging on br-ex. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Adds PRD (prd.md) and EP (README.md) for the CUDN Localnet k8s manager, the first k8sManager backend for OSAC. Bridges KubeVirt VMs to the physical fabric via OVN-Kubernetes CUDN Localnet topology with 802.1Q VLAN tagging on br-ex. Initial scope targets a single hosting cluster per subnet. Multi-cluster IP partitioning via excludeSubnets is documented as a future extension. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Adds PRD (prd.md) and EP (README.md) for the CUDN Localnet k8s manager, the first k8sManager backend for OSAC. Bridges KubeVirt VMs to the physical fabric via OVN-Kubernetes CUDN Localnet topology with 802.1Q VLAN tagging on br-ex. Initial scope targets a single hosting cluster per subnet. Multi-cluster IP partitioning via excludeSubnets is documented as a future extension. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Adds PRD (prd.md) and EP (README.md) for the CUDN Localnet k8s manager, the first k8sManager backend for OSAC. Bridges KubeVirt VMs to the physical fabric via OVN-Kubernetes CUDN Localnet topology with 802.1Q VLAN tagging on br-ex. Initial scope targets a single hosting cluster per subnet. Multi-cluster IP partitioning via excludeSubnets is documented as a future extension. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Adds PRD (prd.md) and EP (README.md) for the CUDN Localnet k8s manager, the first k8sManager backend for OSAC. Bridges KubeVirt VMs to the physical fabric via OVN-Kubernetes CUDN Localnet topology with 802.1Q VLAN tagging on br-ex. Initial scope targets a single hosting cluster per subnet. Multi-cluster IP partitioning via excludeSubnets is documented as a future extension. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Adds PRD (prd.md) and EP (README.md) for the CUDN Localnet k8s manager, the first k8sManager backend for OSAC. Bridges KubeVirt VMs to the physical fabric via OVN-Kubernetes CUDN Localnet topology with 802.1Q VLAN tagging on br-ex. Initial scope targets a single hosting cluster per subnet. Multi-cluster IP partitioning via excludeSubnets is documented as a future extension. Supersedes: osac-project/docs#36 Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Dan Manor <dmanor@redhat.com>
Summary
excludeSubnetsTest plan
All tests were run on 2 SNO clusters (OCP 4.21 and 4.22) on a managed fabric with 2 virtual networks (VLAN 3 and VLAN 5). Results documented in the guide.