23 lines
726 B
Markdown
23 lines
726 B
Markdown
|
|
# OpenEBS ZFS Host Prep
|
||
|
|
|
||
|
|
Run on the ZFS node before reconciling `platform-openebs`.
|
||
|
|
|
||
|
|
Upgrade the host ZFS stack and enable any required pool features before OpenEBS is installed. Backwards-incompatible pool features must be enabled only after confirming every host that may import the pool supports them.
|
||
|
|
|
||
|
|
Create the neutral parent dataset used by OpenEBS LocalPV ZFS. Workload-facing ZFS properties are declared in StorageClass parameters instead of being baked into parent datasets:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
sudo zfs create -p ********
|
||
|
|
```
|
||
|
|
|
||
|
|
Verify the OpenEBS parent dataset:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
zfs get recordsize,compression,dedup,mountpoint ********
|
||
|
|
```
|
||
|
|
|
||
|
|
Label the Kubernetes node:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
kubectl label node <zfs-node-name> has-zfs=true --overwrite
|
||
|
|
```
|