virtualmachineinstancereplicaset.yaml 840 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apiVersion: kubevirt.io/v1
  2. kind: VirtualMachineInstanceReplicaSet
  3. metadata:
  4. name: fedora
  5. spec:
  6. selector:
  7. matchLabels:
  8. app.kubernetes.io/name: fedora
  9. template:
  10. metadata:
  11. name: fedora
  12. labels:
  13. app.kubernetes.io/name: fedora
  14. spec:
  15. domain:
  16. devices:
  17. disks:
  18. - name: containerdisk
  19. disk:
  20. bus: virtio
  21. - name: cloudinitdisk
  22. disk:
  23. bus: virtio
  24. resources:
  25. requests:
  26. memory: 256M
  27. volumes:
  28. - name: containerdisk
  29. containerDisk:
  30. image: quay.io/kubevirt/fedora-cloud-container-disk-demo
  31. - cloudInitNoCloud:
  32. userData: |-
  33. #cloud-config
  34. password: fedora
  35. chpasswd: { expire: False }
  36. name: cloudinitdisk