Files
cozystack/api/apps
Timofei Larkin a24bdb758b feat(vm-instance): join a cozyplane VPC by pod annotation
On the cozyplane networking variant there is no multus, so a VM that
listed a network rendered a multus attachment that can never resolve
and sat Pending forever. When the cluster serves sdn.cozystack.io —
detected by API discovery, the same way the Kube-OVN IP pinning is —
the chart now stamps sdn.cozystack.io/vpc:
virtualprivatecloud-<networks[0].name> on the virt-launcher pod (the
bare name resolves in the VM's own namespace) and renders no multus
networks and no secondary interfaces: the VM keeps its single pod
interface and the CNI gives it its VPC identity. A cozyplane pod joins
exactly one VPC, so more than one network entry fails the render by
name rather than attaching silently to the first. The Cilium-variant
multus path is unchanged, and the suite pins both branches.

Assisted-by: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2026-11-25 12:00:48 +01:00
..