Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Deployment Guide--Dell Ready Stack for Red Hat OpenShift Container Platform 4.3 CSI Attached Storage > Provisioning Isilon storage
Dell EMC Isilon storage delivers new levels of performance and efficiency with an integrated machine learning engine. For more information, see Dell EMC Isilon.
The following steps assume that there is a running Dell EMC Isilon system.
[core@csah ~]$ oc new-project Isilon
[core@csah pmax]$ cat isilon-secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: isilon-creds
namespace: isilon
type: Opaque
data:
username: ZGVsbA==
password: ZGVsbA==
Note: The secret name must be isilon-creds.
oc create -f isilon-creds.yaml
[core@csah isilon]$ oc get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
isilon-controller-0 3/3 Running 0 41s 10.131.0.70 worker-0.example.lab <none> <none>
isilon-node-lh2jp 2/2 Running 0 41s 100.82.46.26 worker-2.example.lab <none> <none>
isilon-node-lsnzl 2/2 Running 0 41s 100.82.46.25 worker-1.example.lab <none> <none>
isilon-node-mzvx4 2/2 Running 0 41s 100.82.46.24 worker-0.example.lab <none> <none>
[core@csah isilon]$ oc get sc
NAME PROVISIONER AGE
test-isilon-nfs csi-isilon.dellemc.com 59s
To perform application builds, configure the image registry for the OpenShift cluster.
To provision storage for the image registry, create a PVC and assign the storage to the image registry configuration. Run the commands as user core on the CSAH node unless otherwise specified.
[core@csah ~]$ cat image_registry_pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: imageregistry
namespace: openshift-image-registry
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 150Gi
storageClassName: test-isilon-nfs
Note: Ensure that the namespace is openshift-image-registry. Any namespace other than openshift-image-registry causes an error. The recommended size is greater than 100 G. Assign a volume that supports ReadWriteMany access mode.
[core@csah ~]$ oc create -f image_registry_pvc.yml
[core@csah ~]$ oc edit configs.imageregistry.operator.openshift.io
spec:
managementState: Managed
storage:
pvc:
claim: imageregistry
Note: Leaving claim empty automatically creates a PVC.
[core@csah ~]$ oc edit configs.imageregistry.operator.openshift.io
config.imageregistry.operator.openshift.io/cluster edited
For operators such as image-registry, apiserver, and so on, the PROGRESSING column displays the True state for few minutes before the AVAILABLE column displays the True state.
Validate the image registry:
Figure 14. Cluster Operators status check
Note: Although the image-registry cluster operator status is being verified, the status of other cluster operators such as operator-lifecycle-manager and kube-apiserver might change. We recommend that you check all cluster operators before proceeding.
Figure 15. Image registry pod status
[core@csah ~]$ oc describe pod image-registry-54d58569dc-tlvr4 -n openshift-image-registry | grep -i volumes -A 4
Volumes:
registry-storage:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: imageregistry
ReadOnly: false
[core@csah ~]$ oc debug nodes/etcd-0.example.lab
Starting pod/etcd-0examplelab-debug ...
To use host binaries, run `chroot /host`
Pod IP: 100.82.46.21
If you don't see a command prompt, try pressing enter.
sh-4.2# chroot /host
sh-4.4# oc login -u kubeadmin -p xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Login successful.
You have access to 53 projects, the list has been suppressed. You can list all projects with 'oc projects'
Using project "default".
sh-4.4# podman login -u kubeadmin -p $(oc whoami -t) image-registry.openshift-image-registry.svc:5000
Login Succeeded!
To create a dynamic NFS volume:
[core@csah isilon]$ cat dynfspvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: dynamic-isilon-pvc
namespace: isilon
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: test-isilon-nfs
Use the YAML file that you created in step 1 to create a PVC:[core@csah isilon]$ oc create -f dynfspvc.yaml
[core@csah isilon]$ oc get pv pvc-25c69233d7
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-25c69233d7 20Gi RWO Delete Bound isilon/dynamic-isilon-pvc test-isilon-nfs 2m52s
[core@csah isilon]$ oc get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-isilon-pvc Bound pvc-25c69233d7 20Gi RWO test-isilon-nfs 3m6s