Skip to content

Commit 9e3edca

Browse files
committed
PUDN, static ips: either static IPs or multus default network on the VMI
Explicit call out controller errors if static IPs and a multus default network are requested, to provide a clear flow and UX to the user. Signed-off-by: Miguel Duarte Barroso <[email protected]>
1 parent bab2ad7 commit 9e3edca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

enhancements/network/requesting-staticips-for-vms-being-migrated-into-primary-l2-udns-using-MTV.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,11 @@ spec:
202202
```
203203

204204
When virt-controller templates the pod for holding this VM it will carry over
205-
the multus default-network annotation and define that in the launcher pod.
205+
the multus default-network annotation and define that in the launcher pod. If
206+
the VM has both a secondary "default" network (which would result in the
207+
KubeVirt API generating a multus default network annotation) and request for
208+
MTV provided static IP addresses, the VM creation will fail, with an actionable
209+
error, to provide a simple and clear user flow.
206210

207211
The `ipam-extensions` mutating web-hook will intercept the launcher pod
208212
creation, and mutate the multus default network annotation: it will decorate

0 commit comments

Comments
 (0)