Загрузка...

Shared data access in OpenShift with IBM Spectrum Scale (1/3): Static volume provisioning

This demo shows how to use advanced "static volume provisioning" of persistent volumes (PVs) with IBM Spectrum Scale Container Native Storage Access (CNSA) on Red Hat OpenShift to share parallel access to pre-existing data in IBM Spectrum Scale across user namespaces. It is the first part of a three-part demo sequence: Part 1: Static provisioning of persistent volumes (https://youtu.be/0iJwD6hlSnY) Part 2: SELinux preventing shared access to the same data across namespaces (https://youtu.be/OrdKIBUdWhU) Part 3: Using a custom SCC to safely share data access across namespaces (https://youtu.be/B2LOJQTpvw8) In the demo we want to provide and share access to pre-existing data in the directory "/gpfs/ess3000_1M/ocp-home" on the IBM Spectrum Scale storage cluster. The IBM Spectrum Scale file system is remotely mounted on a Red Hat OpenShift compute cluster with IBM Spectrum Scale Container Native Storage Access (CNSA). The demo shows how to create three statically provisioned persistent volumes (PVs) for three user namespaces. The Kubernetes "claimRef" option is used to control the binding and allow only a specific persistent volume claim (PVC) to be bound to a specific persistent volume (PV) - otherwise the static PVs could be claimed by any PVC from any namespace. The demo also shows how to obtain the proper "volumeHandle" in the PV manifest for the IBM Spectrum Scale CSI driver. For more information about the demo setup and the applied methods, please visit my blog post: Advanced Static Volume Provisioning with IBM Spectrum Scale on Red Hat OpenShift at https://community.ibm.com/community/user/storage/blogs/gero-schmidt1/2022/04/01/advanced-static-volume-provisioning-on-ocp. DISCLAIMER: The demo is based on Red Hat OpenShift 4.9.22 with IBM Spectrum Scale Container Native Storage Access (CNSA) v5.1.2 and IBM Spectrum Scale CSI Driver 2.4.0. The examples in this demo are of an exploratory nature to showcase advanced ways of volume provisioning in OpenShift/Kubernetes with IBM Spectrum Scale CNSA/CSI Driver in order to provide and share access to pre-existing data hosted in IBM Spectrum Scale. Kubernetes and OpenShift as well as IBM Spectrum Scale CNSA and CSI Driver are fast growing projects. Observed behaviors may change with future releases and require to be tested thoroughly before being applied. The examples used in this demo do not imply nor express any official recommendations or formal support statements by IBM. So always make sure to check the latest official IBM documentation at https://www.ibm.com/docs/en/scalecontainernative or https://www.ibm.com/docs/en/spectrum-scale-csi and test the proposed options carefully. When necessary obtain a proper support statement from IBM for future directions where needed.

Видео Shared data access in OpenShift with IBM Spectrum Scale (1/3): Static volume provisioning автора Питоновый квест
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки