Skip to content

Commit e8f90ef

Browse files
balaharish7survivant
authored andcommitted
docs: Added steps reg. custom Kubelet location in the Installation documenation (openebs#499)
Signed-off-by: Bala Harish <[email protected]> Signed-off-by: Sebastien Dionne <[email protected]>
1 parent 48b9657 commit e8f90ef

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docs/main/quickstart-guide/installation.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ helm repo add openebs https://openebs.github.io/openebs
6060
helm repo update
6161
```
6262

63-
:::important
63+
:::note
6464
`helm repo add openebs https://openebs.github.io/charts` has changed to `helm repo add openebs https://openebs.github.io/openebs`.
6565
:::
6666

@@ -88,7 +88,29 @@ helm install openebs --namespace openebs openebs/openebs --set engines.replicate
8888
```
8989
:::
9090

91-
3. To view the chart and get the output, use the following commands:
91+
If you are utilizing a custom Kubelet location or a Kubernetes distribution that uses a custom Kubelet location, it is necessary to modify the Kubelet directory in the Helm values at installation time. This can be accomplished by using the `--set` flag option in the Helm install command, as follows:
92+
93+
- For Local PV LVM
94+
95+
```
96+
--set lvm-localpv.lvmNode.kubeletDir=<your-directory-path>
97+
```
98+
99+
- For Local PV ZFS
100+
101+
```
102+
--set zfs-localpv.zfsNode.kubeletDir=<your-directory-path>
103+
```
104+
105+
Specifically:
106+
107+
- For **MicroK8s**, the Kubelet directory must be updated to `/var/snap/microk8s/common/var/lib/kubelet/` by replacing the default `/var/lib/kubelet/` with `/var/snap/microk8s/common/var/lib/kubelet/`.
108+
109+
- For **k0s**, the default Kubelet directory (`/var/lib/kubelet`) must be changed to `/var/lib/k0s/kubelet/`.
110+
111+
- For **RancherOS**, the default Kubelet directory (`/var/lib/kubelet`) must be changed to `/opt/rke/var/lib/kubelet/`.
112+
113+
3. To view the chart and get the output, use the following command:
92114

93115
**Command**
94116

0 commit comments

Comments
 (0)