142 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
2. Assign the Persistent Volume Claim to the Registry:
6.4.3  Deploying the Prometheus Cluster Monitoring
This section describes the Prometheus Cluster Monitoring open source deployment.
Overview
OpenShift Container Platform includes a pre-configured and self-updating monitoring stack 
(see Figure 6-5 on page 143) that is based on the Prometheus open source project and its 
wider system. 
OpenShift provides monitoring of cluster components, and includes a set of alerts to 
immediately notify the cluster administrator about any occurring problems, and a set of 
Grafana dashboards.
oc set volume dc/docker-registry --add --name=registry-storage -t pvc 
--claim-name=registry-pvc --mount-path=/registry --overwrite
deploymentconfig.apps.openshift.io/docker-registry volume updated
oc set volume dc/docker-registry
deploymentconfigs/docker-registry
  secret/registry-certificates as registry-certificates
    mounted at /etc/secrets
  pvc/registry-pvc (allocated 1TiB) as registry-storage
    mounted at /registry
oc get pod
NAME                       READY     STATUS    RESTARTS   AGE
docker-registry-2-8h9cf    1/1       Running   0          1m
registry-console-1-p5clt   1/1       Running   0          46m
router-1-2hm94             1/1       Running   0          47m
router-1-2s9zn             1/1       Running   0          47m
router-1-72f7r             1/1       Running   0          47m
oc exec -ti docker-registry-2-8h9cf bash
bash-4.2$ df -h
Filesystem                              Size  Used Avail Use% Mounted on
/dev/mapper/mpatha                     1008G   77M  957G   1% /registry
bash-4.2$ mount | grep regi
/dev/mapper/mpatha on /registry type ext4 (rw,relatime,seclabel,data=ordered)
bash-4.2$ exit
exit