1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

BZ1932466: added missing namespace for PVC

This commit is contained in:
Chinmayi Chandrasekar
2021-07-05 15:37:41 +05:30
committed by openshift-cherrypick-robot
parent fd89568a21
commit 501e31433b

View File

@@ -45,16 +45,18 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: image-registry-storage <1>
namespace: openshift-image-registry <2>
spec:
accessModes:
- ReadWriteOnce <2>
- ReadWriteOnce <3>
resources:
requests:
storage: 100Gi <3>
storage: 100Gi <4>
----
<1> A unique name that represents the `PersistentVolumeClaim` object.
<2> The access mode of the PersistentVolumeClaim. With `ReadWriteOnce`, the volume can be mounted with read and write permissions by a single node.
<3> The size of the PersistentVolumeClaim.
<2> The namespace for the `PersistentVolumeClaim` object, which is `openshift-image-registry`.
<3> The access mode of the persistent volume claim. With `ReadWriteOnce`, the volume can be mounted with read and write permissions by a single node.
<4> The size of the persistent volume claim.
.. Create the `PersistentVolumeClaim` object from the file:
+