From 34b92a7d4f7b05f58a897f30eed3fa2a034b4d92 Mon Sep 17 00:00:00 2001 From: Deepak Ghuge Date: Wed, 25 Sep 2019 17:49:57 +0530 Subject: [PATCH] readme update --- README.md | 12 ++++++------ deploy/create.sh | 0 deploy/destroy.sh | 0 examples/dynamic/fileset/storageclassfileset.yaml | 2 +- .../fileset/storageclassfileset_dependent.yaml | 4 +--- examples/dynamic/lightweight/storageclasslw.yaml | 6 ++---- 6 files changed, 10 insertions(+), 14 deletions(-) mode change 100644 => 100755 deploy/create.sh mode change 100644 => 100755 deploy/destroy.sh diff --git a/README.md b/README.md index d9ab2f5..47d88c5 100644 --- a/README.md +++ b/README.md @@ -167,13 +167,13 @@ The IBM Spectrum Scale Container Storage Interface (CSI) driver has the followin ## Install and Deploy the Spectrum Scale CSI driver -1. Load the docker image to all Kubernetes worker nodes +1. Copy and load the docker image on all Kubernetes worker nodes ``` docker image load -i csi-spectrum-scale_v0.9.0.tar ``` - *On OpenShift, use this command instead:* + *On OpenShift setup, use this command instead:* ``` podman image load -i csi-spectrum-scale_v0.9.0.tar @@ -181,10 +181,10 @@ The IBM Spectrum Scale Container Storage Interface (CSI) driver has the followin 2. Update `deploy/spectrum-scale-driver.conf` with your cluster and environment details. -3. Set the environment variable CSI_SCALE_PATH to `/ibm-spectrum-scale-csi-driver` +3. Set the environment variable CSI_SCALE_PATH to ibm-spectrum-scale-csi-driver directory ``` - export CSI_SCALE_PATH=/ibm-spectrum-scale-csi-driver + export CSI_SCALE_PATH=$GOPATH/src/github.com/IBM/ibm-spectrum-scale-csi-driver ``` 4. Run the install helper script: @@ -217,8 +217,8 @@ For static provisioning of existing directories perform the following steps: - Generate static pv yaml file using helper script ``` - tools/generate_pv_yaml.sh --filesystem rgpfs2 --size 10 \ - --linkpath /ibm/rgpfs2/static-pv-from-vmi-146/static-pv-1 --pvname static-pv + tools/generate_pv_yaml.sh --filesystem gpfs0 --size 10 \ + --linkpath /ibm/gpfs0/pvfileset/static-pv --pvname static-pv ``` - Use sample static_pvc and pod files for sanity test under `examples/static` diff --git a/deploy/create.sh b/deploy/create.sh old mode 100644 new mode 100755 diff --git a/deploy/destroy.sh b/deploy/destroy.sh old mode 100644 new mode 100755 diff --git a/examples/dynamic/fileset/storageclassfileset.yaml b/examples/dynamic/fileset/storageclassfileset.yaml index 276c34e..8836e49 100644 --- a/examples/dynamic/fileset/storageclassfileset.yaml +++ b/examples/dynamic/fileset/storageclassfileset.yaml @@ -4,7 +4,7 @@ metadata: name: csi-spectrum-scale-fileset provisioner: csi-spectrum-scale parameters: - volBackendFs: "gpfs1" + volBackendFs: "gpfs0" clusterId: "7118073361626808055" reclaimPolicy: Delete diff --git a/examples/dynamic/fileset/storageclassfileset_dependent.yaml b/examples/dynamic/fileset/storageclassfileset_dependent.yaml index f61fbc8..81d6ab2 100644 --- a/examples/dynamic/fileset/storageclassfileset_dependent.yaml +++ b/examples/dynamic/fileset/storageclassfileset_dependent.yaml @@ -4,10 +4,8 @@ metadata: name: csi-spectrum-scale-fileset-dependent provisioner: csi-spectrum-scale parameters: - volBackendFs: "gpfs1" + volBackendFs: "gpfs0" clusterId: "7118073361626808055" - uid: "1000" - gid: "1000" fileset-type: "dependent" parentFileset: "pvc-9c93ffc6-b113-47b4-bbb4-29306f567f2b" reclaimPolicy: Delete diff --git a/examples/dynamic/lightweight/storageclasslw.yaml b/examples/dynamic/lightweight/storageclasslw.yaml index d733f43..a17cfaa 100644 --- a/examples/dynamic/lightweight/storageclasslw.yaml +++ b/examples/dynamic/lightweight/storageclasslw.yaml @@ -4,9 +4,7 @@ metadata: name: csi-spectrum-scale-lt provisioner: csi-spectrum-scale parameters: - volBackendFs: "gpfs1" - volDirBasePath: "DiffFS/N1" - uid: "1000" - gid: "1000" + volBackendFs: "gpfs0" + volDirBasePath: "pvfileset/lwdir" reclaimPolicy: Delete