Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doc): updating sample ZFSVolume CR #13

Merged
merged 1 commit into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"