Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
deeghuge authored Sep 25, 2019
1 parent bc5f876 commit 34b92a7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,24 +167,24 @@ 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
```
2. Update `deploy/spectrum-scale-driver.conf` with your cluster and environment details.
3. Set the environment variable CSI_SCALE_PATH to `<repo_base_path>/ibm-spectrum-scale-csi-driver`
3. Set the environment variable CSI_SCALE_PATH to ibm-spectrum-scale-csi-driver directory
```
export CSI_SCALE_PATH=<repo_base_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:
Expand Down Expand Up @@ -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`
Expand Down
Empty file modified deploy/create.sh
100644 → 100755
Empty file.
Empty file modified deploy/destroy.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion examples/dynamic/fileset/storageclassfileset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: csi-spectrum-scale-fileset
provisioner: csi-spectrum-scale
parameters:
volBackendFs: "gpfs1"
volBackendFs: "gpfs0"
clusterId: "7118073361626808055"
reclaimPolicy: Delete

4 changes: 1 addition & 3 deletions examples/dynamic/fileset/storageclassfileset_dependent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions examples/dynamic/lightweight/storageclasslw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 34b92a7

Please sign in to comment.