OpenShift PersistentVolume Operations: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
oc delete pv <''persistent-volume-name''> | oc delete pv <''persistent-volume-name''> | ||
oc delete pv metrics-volume | oc delete pv metrics-volume | ||
Revision as of 05:18, 17 October 2017
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