apache / apache/cloudstack

Allow additional allowed IPs for VMs in Security Group networks

Abierto
#13,256 1 comentario 0 reacciones 0 asignados Ver en GitHub
component:advanced-networking component:networking component:security-group type:new-feature
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza revisando el comportamiento de Security Group y el filtrado de iptables del hypervisor descritos en el issue, centrándote en cómo se permiten actualmente las IP de destino para las VM. Define cómo podrían permitirse IP de destino adicionales para una VM o Security Group, preservando al mismo tiempo el aislamiento L2 y el anti-spoofing, y luego valida el diseño con respecto al escenario Kubernetes BGP Anycast.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
kubernetes
Área
cloud, networking, security
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.