virtualmachineinstancereplicaset.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. apiVersion: kubevirt.io/v1
  2. kind: VirtualMachineInstanceReplicaSet
  3. metadata:
  4. labels:
  5. kubevirt.io/vm: vm-windows-datavolume
  6. name: vm-windows-datavolume
  7. spec:
  8. selector:
  9. matchLabels:
  10. kubevirt.io/vm: vm-windows-datavolume
  11. template:
  12. metadata:
  13. name: windows
  14. labels:
  15. kubevirt.io/vm: vm-windows-datavolume
  16. spec:
  17. domain:
  18. cpu:
  19. cores: 1
  20. model: host-model
  21. sockets: 1
  22. threads: 1
  23. devices:
  24. disks:
  25. - disk:
  26. bus: virtio
  27. name: windows-volume-disk1
  28. interfaces:
  29. - masquerade: {}
  30. model: e1000
  31. name: default
  32. machine:
  33. type: q35
  34. resources:
  35. requests:
  36. memory: 2048M
  37. firmware:
  38. bootloader:
  39. efi:
  40. secureBoot: true
  41. features:
  42. acpi: {}
  43. apic: {}
  44. hyperv:
  45. relaxed: {}
  46. spinlocks:
  47. spinlocks: 8191
  48. vapic: {}
  49. smm: {}
  50. volumes:
  51. - dataVolume:
  52. name: windows-dv
  53. name: windows-volume-disk1
  54. networks:
  55. - name: default
  56. pod: {}