Portworx storage provisioner

Cloudera AI supports Portworx as storage backend for workbenches.

New Cloudera AI Workbenches can be configured to use Portworx volumes for storing data.

  1. Create a Portworx storage class in your OpenShift Container Platform cluster manually. This storage class must have the provisioner field set to either pxd.portworx.com or kubernetes.io/portworx-volume.

    Sample storage classes are:

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
    name: sample-portworx-storage-class-k8s
    parameters:
    repl: "3"
    allow_all_ips: "true"
    provisioner: kubernetes.io/portworx-volume
    reclaimPolicy: Delete
    allowVolumeExpansion: true
    volumeBindingMode: Immediate 
          
    ---
          
          
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
    name: sample-portworx-storage-class-pxd 
    parameters:
    repl: "2"
    sharedv4: "true"
    sharedv4_svc_type: ClusterIP
    allow_all_ips: "true"
    provisioner: pxd.portworx.com
    reclaimPolicy: Retain
    allowVolumeExpansion: true     
    volumeBindingMode: Immediate
          
    ---
          
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
    name: sample-portworx-storage-class-pxd 
    parameters:
    repl: "2"
    sharedv4: "true"
    sharedv4_svc_type: ClusterIP
    allow_ips: 10.17.0.0/16
    provisioner: pxd.portworx.com
    reclaimPolicy: Retain
    allowVolumeExpansion: true     
    volumeBindingMode: Immediate
  2. In the Cloudera AI Workbench provisioning page, enable the Set Custom NFS Storage Class Name option. Enter the name of storage class you manually created earlier in the Storage Class Name text box.
  3. Enter the rest of the workbench details and submit. This sets up Cloudera AI Workbench backed by Portworx.