12345678910111213141516171819202122232425262728293031323334353637 |
- apiVersion: kubevirt.io/v1
- kind: VirtualMachineInstanceReplicaSet
- metadata:
- name: fedora
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: fedora
- template:
- metadata:
- name: fedora
- labels:
- app.kubernetes.io/name: fedora
- spec:
- domain:
- devices:
- disks:
- - name: containerdisk
- disk:
- bus: virtio
- - name: cloudinitdisk
- disk:
- bus: virtio
- resources:
- requests:
- memory: 256M
- volumes:
- - name: containerdisk
- containerDisk:
- image: quay.io/kubevirt/fedora-cloud-container-disk-demo
- - cloudInitNoCloud:
- userData: |-
- #cloud-config
- password: fedora
- chpasswd: { expire: False }
- name: cloudinitdisk
|