Commit 09e50f4
committed
sap_vm_provision/kubevirt_vm: Make evictionStrategy configurable
Move evictionStrategy from spec.template.spec.domain (wrong API level,
silently ignored by KubeVirt) to spec.template.spec (correct level).
Expose as variable sap_vm_provision_kubevirt_vm_eviction_strategy,
defaulting to None for compatibility with ReadWriteOnce storage.
Users can override to LiveMigrate when using shared storage (RWX).1 parent 3f4292a commit 09e50f4
2 files changed
Lines changed: 5 additions & 1 deletion
File tree
- roles/sap_vm_provision
- defaults
- tasks/platform_ansible/kubevirt_vm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
825 | 829 | | |
826 | 830 | | |
827 | 831 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
235 | | - | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments