From db080d63e061ac208b3821cf73068a4425b9b1fe Mon Sep 17 00:00:00 2001 From: vados Date: Thu, 8 Apr 2021 13:26:39 +0900 Subject: [PATCH] docs(localpv): Add note about k0s use of custom kubelet directory (#307) Signed-off-by: vados --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ad6b91..d559172 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,12 @@ $ kubectl apply -f https://openebs.github.io/charts/zfs-operator.yaml ``` We can also install it via kustomize using `kubectl apply -k deploy/yamls`, check the [kustomize yaml](deploy/yamls/kustomization.yaml). -For microk8s, we need to change the kubelet directory to `/var/snap/microk8s/common/var/lib/kubelet/`, we need to replace `/var/lib/kubelet/` with `/var/snap/microk8s/common/var/lib/kubelet/` at all the places in the operator yaml and then we can apply it on microk8s. + +**NOTE:** For some Kubernetes distributions, the `kubelet` directory must be changed at all relevant places in the YAML powering the operator (both the `openebs-zfs-controller` and `openebs-zfs-node`). + +For `microk8s`, we need to change the kubelet directory to `/var/snap/microk8s/common/var/lib/kubelet/`, we need to replace `/var/lib/kubelet/` with `/var/snap/microk8s/common/var/lib/kubelet/` at all the places in the operator yaml and then we can apply it on microk8s. + +For `k0s`, the default directory (`/var/lib/kubelet`) should be changed to `/var/lib/k0s/kubelet`. Verify that the ZFS driver Components are installed and running using below command :