apache / apache/cloudstack

Allow additional allowed IPs for VMs in Security Group networks

Đang mở
#13,256 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
component:advanced-networking component:networking component:security-group type:new-feature
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng việc xem xét hành vi của Security Group và việc lọc iptables của hypervisor được mô tả trong issue, tập trung vào cách các IP đích hiện được cho phép đối với các VM. Xác định cách có thể cho phép thêm các IP đích cho một VM hoặc Security Group trong khi vẫn duy trì L2 isolation và anti-spoofing, sau đó kiểm tra thiết kế dựa trên kịch bản Kubernetes BGP Anycast.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
kubernetes
Lĩnh vực
cloud, networking, security
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.