Last active
September 26, 2019 11:38
-
-
Save jparrill/a4d4ed0413285c6db524917bc81ab4f1 to your computer and use it in GitHub Desktop.
Kubevirt Basic Manifests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: "pvc-cirros" | |
| labels: | |
| app: containerized-data-importer | |
| annotations: | |
| cdi.kubevirt.io/storage.import.endpoint: "https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" | |
| spec: | |
| accessModes: | |
| - ReadWriteMany | |
| resources: | |
| requests: | |
| storage: 500Mi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: kubevirt.io/v1alpha3 | |
| kind: VirtualMachine | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| kubevirt.io/vm: vm-cirros | |
| name: vm-cirros | |
| spec: | |
| running: true | |
| template: | |
| metadata: | |
| labels: | |
| kubevirt.io/vm: vm-cirros | |
| spec: | |
| domain: | |
| devices: | |
| disks: | |
| - disk: | |
| bus: virtio | |
| name: pvcdisk | |
| machine: | |
| type: "" | |
| resources: | |
| requests: | |
| memory: 64M | |
| terminationGracePeriodSeconds: 0 | |
| volumes: | |
| - name: pvcdisk | |
| persistentVolumeClaim: | |
| claimName: pvc-cirros | |
| status: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment