kubevirt PR #1550

15 views
Skip to first unread message

Alexander Gallego

unread,
Oct 12, 2018, 12:11:17 PM10/12/18
to kubevirt-dev
Hi David, 

I saw the first iteration of migration was merged. 


This is really exciting step forward and wanted to start a brainstorm discussion on how to allow hooks into the migration. --> user hooks.

Before a migration happen, on our cluster we have to do a dance to move secrets around and hook into our KMI (key management infra). 

Extending the VM lifecycle hooks would be a natural point, but wanted to ask if you are considering exposing this to clients and how. 

.alex

dvo...@redhat.com

unread,
Oct 15, 2018, 10:30:01 AM10/15/18
to kubevirt-dev
The migration flow looks roughly like this.

1. cluster level - Create target pod
2. target node - prepare target pod (setting up network and creating ephemeral disks for things like cloud-init)
3. source node - perform migration
4. source node - hand off VMI object to target node
5. cluster level - source pod tears down

It's possible to add lifecycle hooks for items 2, 3 and 4.  Which hooks would you need to satisfy your use case?
 

.alex
Reply all
Reply to author
Forward
0 new messages