OpenShift PersistentVolume Operations
Jump to navigation
Jump to search
Internal
Delete a Persistent Volume
oc delete pv <persistent-volume-name> oc delete pv metrics-volume
Create a Persistent Volume
apiVersion: v1 kind: PersistentVolume metadata: name: metrics-volume spec: capacity: storage: 10Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain nfs: path: /support-nfs-storage/metrics server: support.local