|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * virt/storage/virt-configuring-storage-profile.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: PROCEDURE |
| 6 | +[id="virt-viewing-automatically-created-storage-profiles_{context}"] |
| 7 | += Viewing automatically created storage profiles |
| 8 | + |
| 9 | +The system creates storage profiles for each storage class automatically. |
| 10 | + |
| 11 | +.Procedure |
| 12 | +. To view the list of storage profiles, run the following command: |
| 13 | ++ |
| 14 | +[source,terminal] |
| 15 | +---- |
| 16 | +$ oc get storageprofile |
| 17 | +---- |
| 18 | + |
| 19 | +. To fetch the details of a particular storage profile, run the following command: |
| 20 | ++ |
| 21 | +[source,terminal] |
| 22 | +---- |
| 23 | +$ oc describe storageprofile <name> |
| 24 | +---- |
| 25 | ++ |
| 26 | +.Example storage profile details |
| 27 | +[source,yaml] |
| 28 | +---- |
| 29 | +Name: ocs-storagecluster-ceph-rbd-virtualization |
| 30 | +Namespace: |
| 31 | +Labels: app=containerized-data-importer |
| 32 | + app.kubernetes.io/component=storage |
| 33 | + app.kubernetes.io/managed-by=cdi-controller |
| 34 | + app.kubernetes.io/part-of=hyperconverged-cluster |
| 35 | + app.kubernetes.io/version=4.17.2 |
| 36 | + cdi.kubevirt.io= |
| 37 | +Annotations: <none> |
| 38 | +API Version: cdi.kubevirt.io/v1beta1 |
| 39 | +Kind: StorageProfile |
| 40 | +Metadata: |
| 41 | + Creation Timestamp: 2023-11-13T07:58:02Z |
| 42 | + Generation: 2 |
| 43 | + Owner References: |
| 44 | + API Version: cdi.kubevirt.io/v1beta1 |
| 45 | + Block Owner Deletion: true |
| 46 | + Controller: true |
| 47 | + Kind: CDI |
| 48 | + Name: cdi-kubevirt-hyperconverged |
| 49 | + UID: 2d6f169a-382c-4caf-b614-a640f2ef8abb |
| 50 | + Resource Version: 4186799537 |
| 51 | + UID: 14aef804-6688-4f2e-986b-0297fd3aaa68 |
| 52 | +Spec: |
| 53 | +Status: |
| 54 | + Claim Property Sets: <1> |
| 55 | + accessModes: |
| 56 | + ReadWriteMany |
| 57 | + volumeMode: Block |
| 58 | + accessModes: |
| 59 | + ReadWriteOnce |
| 60 | + volumeMode: Block |
| 61 | + accessModes: |
| 62 | + ReadWriteOnce |
| 63 | + volumeMode: Filesystem |
| 64 | + Clone Strategy: csi-clone <2> |
| 65 | + Data Import Cron Source Format: snapshot <3> |
| 66 | + Provisioner: openshift-storage.rbd.csi.ceph.com |
| 67 | + Snapshot Class: ocs-storagecluster-rbdplugin-snapclass |
| 68 | + Storage Class: ocs-storagecluster-ceph-rbd-virtualization |
| 69 | +Events: <none> |
| 70 | +---- |
| 71 | +<1> `Claim Property Sets` is an ordered list of `AccessMode`/`VolumeMode` pairs, which describe the PVC modes that are used to provision VM disks. |
| 72 | +<2> The `Clone Strategy` line indicates the clone strategy to be used. |
| 73 | +<3> `Data Import Cron Source Format` indicates whether golden images on this storage are stored as PVCs or volume snapshots. |
| 74 | + |
| 75 | + |
0 commit comments