apache / apache/cloudstack

Allow additional allowed IPs for VMs in Security Group networks

未關閉
#13,256 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:advanced-networking component:networking component:security-group type:new-feature
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### The required feature described as a wish

Hi,

I’m currently experimenting with Anycast for Kubernetes clusters.

For this setup, I have two BGP router VMs that talk to multiple tenant worker nodes. The worker nodes should be able to announce external IPs for Kubernetes LoadBalancer services.

The goal is to have multiple tenants on a shared L2 network and use Security Groups for isolation.

The issue is that CloudStack does not know about these external IPs in my scenario, so traffic gets blocked on the hypervisor iptables layer. As far as I understand it, only IPs that CloudStack knows about are allowed as destination IPs for a specific VM.

Even if I create a separate network containing those external IPs, I cannot assign the same IP to multiple VMs. Because of that, real Anycast is not possible.

What would be useful is a way to allow additional destination IPs for a VM or Security Group without requiring CloudStack to assign those IPs directly to a single VM. This would allow external systems, like Kubernetes with BGP-based LoadBalancer announcements, to handle the IP ownership dynamically while CloudStack still provides L2 isolation and anti-spoofing.

貢獻指南

開啟貢獻指南

研究方向

首先審查 issue 中描述的 Security Group 行為和 hypervisor iptables 過濾,重點關注目前如何為 VM 允許目的地 IP。定義如何在保留 L2 隔離和 anti-spoofing 的同時,為 VM 或 Security Group 允許其他目的地 IP,然後針對 Kubernetes BGP Anycast 情境驗證該設計。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
kubernetes
領域
cloud, networking, security
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。