|
@ -4,6 +4,8 @@ kind: VirtualMachine |
|
|
metadata: |
|
|
metadata: |
|
|
name: "instance-{{ vm_id }}" |
|
|
name: "instance-{{ vm_id }}" |
|
|
namespace: "{{ test_name }}" |
|
|
namespace: "{{ test_name }}" |
|
|
|
|
|
annotations: |
|
|
|
|
|
kubespray.com/ci.template-path: "tests/cloud_playbooks/roles/packet-ci/templates/vm.yml.j2" |
|
|
labels: |
|
|
labels: |
|
|
kubevirt.io/os: {{ cloud_image }} |
|
|
kubevirt.io/os: {{ cloud_image }} |
|
|
spec: |
|
|
spec: |
|
@ -34,10 +36,10 @@ spec: |
|
|
threads: {{ vm_cpu_threads }} |
|
|
threads: {{ vm_cpu_threads }} |
|
|
resources: |
|
|
resources: |
|
|
requests: |
|
|
requests: |
|
|
memory: {{ vm_memory * memory_allocation_ratio }} |
|
|
|
|
|
|
|
|
memory: "{{ vm_memory * memory_allocation_ratio }}Mi" |
|
|
cpu: {{ vm_cpu_cores * cpu_allocation_ratio }} |
|
|
cpu: {{ vm_cpu_cores * cpu_allocation_ratio }} |
|
|
limits: |
|
|
limits: |
|
|
memory: {{ vm_memory }} |
|
|
|
|
|
|
|
|
memory: "{{ vm_memory }}Mi" |
|
|
cpu: {{ vm_cpu_cores }} |
|
|
cpu: {{ vm_cpu_cores }} |
|
|
networks: |
|
|
networks: |
|
|
- name: default |
|
|
- name: default |
|
|