Skip to content

Commit

Permalink
fix(doc): updating sample ZFSVolume CR
Browse files Browse the repository at this point in the history
Signed-off-by: Pawan <pawan@mayadata.io>
  • Loading branch information
pawanpraka1 authored and kmova committed Nov 8, 2019
1 parent e174830 commit 66cd525
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ parameters:
blocksize: "4k"
compression: "off"
dedup: "off"
thinprovision: "yes"
thinprovision: "no"
poolname: "zfspv-pool"
provisioner: zfs.csi.openebs.io
allowedTopologies:
Expand Down Expand Up @@ -146,7 +146,7 @@ Create a PVC using the storage class created for the ZFS driver.
```
$ kubectl get zv -n openebs
NAME ZPOOL NODE SIZE
pvc-642803c4-012c-11ea-86d0-42010a800177 zfspv-pool zfspv-node1 4294967296
pvc-37b07ad6-db68-11e9-bbb6-000c296e38d9 zfspv-pool zfspv-node1 4294967296
```

The ZFS driver will create a ZFS dataset(zvol) on the node zfspv-node1 for the mentioned ZFS pool and the dataset name will same as PV name.
Expand Down Expand Up @@ -178,7 +178,7 @@ parameters:
blocksize: "4k"
compression: "on"
dedup: "on"
thinprovision: "yes"
thinprovision: "no"
poolname: "zfspv-pool"
provisioner: zfs.csi.openebs.io
volumeBindingMode: WaitForFirstConsumer
Expand Down
2 changes: 1 addition & 1 deletion deploy/sample/mongo-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
selector:
role: mongo
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mongo
Expand Down
34 changes: 16 additions & 18 deletions deploy/sample/zfspvcr.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
apiVersion: v1
items:
- apiVersion: openebs.io/v1alpha1
kind: ZFSVolume
metadata:
name: pvc-a6855135-c70e-11e9-8fa2-42010a80012d
namespace: openebs
spec:
blocksize: 4k
capacity: "4294967296"
compression: "on"
dedup: "on"
ownerNodeID: gke-pawan-zfspv-default-pool-354050c7-wl8v
poolName: zfspv-pool
thinprovison: "yes"
kind: List
apiVersion: openebs.io/v1alpha1
kind: ZFSVolume
metadata:
resourceVersion: ""
selfLink: ""
name: pvc-37b07ad6-db68-11e9-bbb6-000c296e38d9
namespace: openebs
spec:
blocksize: 4k
capacity: "4294967296"
compression: "off"
dedup: "off"
encryption: ""
keyformat: ""
keylocation: ""
ownerNodeID: zfspv-node1
poolName: zfspv-pool
thinProvison: "off"

0 comments on commit 66cd525

Please sign in to comment.