ae164e9300924caf0030d52e8000320f29feefc9
ocp/centos.yaml.md
... | ... | @@ -0,0 +1,55 @@ |
1 | +``` |
|
2 | +apiVersion: kubevirt.io/v1 |
|
3 | +kind: VirtualMachine |
|
4 | +metadata: |
|
5 | + creationTimestamp: null |
|
6 | + labels: |
|
7 | + kubevirt.io/vm: centos-stream-9 |
|
8 | + name: centos-stream-9 |
|
9 | +spec: |
|
10 | + dataVolumeTemplates: |
|
11 | + - metadata: |
|
12 | + creationTimestamp: null |
|
13 | + name: centos-dv |
|
14 | + spec: |
|
15 | + storage: |
|
16 | + volumeMode: Block |
|
17 | + resources: |
|
18 | + requests: |
|
19 | + storage: 10Gi |
|
20 | + storageClassName: ocs-storagecluster-ceph-rbd |
|
21 | + source: |
|
22 | + # http: |
|
23 | + # url: "https://fedora.mirror.wearetriple.com/linux/releases/38/Cloud/x86_64/images/Fedora-Cloud-Base-38-1.6.x86_64.qcow2" |
|
24 | + # To use a registry source, uncomment the following lines and delete the preceding HTTP source block |
|
25 | + registry: |
|
26 | + url: "docker://registry.poc4.ecocenter.fr:8443/init/oc-mirror-metadata/containerdisks/centos-stream:9" |
|
27 | + pullMethod: node |
|
28 | + # secretRef: pull-secret |
|
29 | + # certConfigMap: user-ca-bundle |
|
30 | + status: {} |
|
31 | + running: true |
|
32 | + template: |
|
33 | + metadata: |
|
34 | + creationTimestamp: null |
|
35 | + labels: |
|
36 | + kubevirt.io/vm: centos-stream-9 |
|
37 | + spec: |
|
38 | + domain: |
|
39 | + devices: |
|
40 | + disks: |
|
41 | + - disk: |
|
42 | + bus: virtio |
|
43 | + name: datavolumedisk1 |
|
44 | + machine: |
|
45 | + type: "" |
|
46 | + resources: |
|
47 | + requests: |
|
48 | + memory: 1.5Gi |
|
49 | + terminationGracePeriodSeconds: 180 |
|
50 | + volumes: |
|
51 | + - dataVolume: |
|
52 | + name: centos-dv |
|
53 | + name: datavolumedisk1 |
|
54 | + |
|
55 | +``` |
|
... | ... | \ No newline at end of file |