Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions roles/sap_vm_provision/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,10 @@ sap_vm_provision_kubevirt_vm_os_user_password: ""
# RAM Overhead [GiB] for virt-launcher container, this can be small for VMs < 1 TB and without SRIOV but should be increased to 16 or more for VMs > 1TB
sap_vm_provision_kubevirt_vm_container_memory_overhead: 1

# Eviction strategy for KubeVirt VMs.
Comment thread
marcelmamula marked this conversation as resolved.
Outdated
# Set to 'None' for local storage (ReadWriteOnce PVCs) or 'LiveMigrate' for shared storage (ReadWriteMany).
sap_vm_provision_kubevirt_vm_eviction_strategy: "None"
Comment thread
marcelmamula marked this conversation as resolved.

# CPU performance settings which are applied to VM
# Note: Using dedicatedCpuPlacement=true together with numa.guestMappingPassthrough requires also usage of huge pages
sap_vm_provision_kubevirt_vm_performance_cpu_settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@
__sap_vm_provision_fact_vm_deploy_config:
volumes: "{{ __sap_vm_provision_fact_storage_disk_name_list + __sap_vm_provision_fact_cloud_init_volume }}"
networks: "{{ __sap_vm_provision_fact_networks_definition }}"
evictionStrategy: "{{ sap_vm_provision_kubevirt_vm_eviction_strategy }}"
Comment thread
marcelmamula marked this conversation as resolved.
domain:
# shared | auto, auto prevents live migration
ioThreadsPolicy: shared
hostname: "{{ __sap_vm_provision_fact_vm_name }}"
evictionStrategy: LiveMigrate
terminationGracePeriodSeconds: 1800 # 30 minutes after stop request before VM is force terminated
resources:
requests:
Expand Down