Skip to content

Commit d77c038

Browse files
committed
docs: added the cmd for mayastor
Signed-off-by: Bala Harish <[email protected]>
1 parent 104ebeb commit d77c038

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

docs/main/quickstart-guide/installation.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The above command will install OpenEBS Local PV Hostpath, OpenEBS Local PV LVM,
8787
helm install openebs --namespace openebs openebs/openebs --set engines.replicated.mayastor.enabled=false --create-namespace
8888
```
8989

90-
- If the CustomResourceDefinitions for CSI VolumeSnapshots are already present in your cluster, you may skip their creation by using the following command:
90+
- If the CustomResourceDefinitions for CSI VolumeSnapshots are already present in your cluster, you may skip their creation by using the following option:
9191

9292
```
9393
--set openebs-crds.csi.volumeSnapshots.enabled=false
@@ -108,6 +108,12 @@ If you are utilizing a custom Kubelet location or a Kubernetes distribution that
108108
--set zfs-localpv.zfsNode.kubeletDir=<your-directory-path>
109109
```
110110

111+
- For Replicated PV Mayastor
112+
113+
```
114+
--set mayastor.csi.node.kubeletDir=<your-directory-path>
115+
```
116+
111117
Specifically:
112118

113119
- 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/`.

docs/versioned_docs/version-4.1.x/quickstart-guide/installation.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,41 @@ The above commands will install OpenEBS Local PV Hostpath, OpenEBS Local PV LVM,
8181
helm install openebs --namespace openebs openebs/openebs --set engines.replicated.mayastor.enabled=false --create-namespace
8282
```
8383

84-
- If the CustomResourceDefinitions for CSI VolumeSnapshots are already present in your cluster, you may skip their creation by using the following command:
84+
- If the CustomResourceDefinitions for CSI VolumeSnapshots are already present in your cluster, you may skip their creation by using the following option:
8585

8686
```
8787
--set openebs-crds.csi.volumeSnapshots.enabled=false
8888
```
8989
:::
9090

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+
- For Replicated PV Mayastor
106+
107+
```
108+
--set mayastor.csi.node.kubeletDir=<your-directory-path>
109+
```
110+
111+
Specifically:
112+
113+
- 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/`.
114+
115+
- For **k0s**, the default Kubelet directory (`/var/lib/kubelet`) must be changed to `/var/lib/k0s/kubelet/`.
116+
117+
- For **RancherOS**, the default Kubelet directory (`/var/lib/kubelet`) must be changed to `/opt/rke/var/lib/kubelet/`.
118+
91119
3. To view the chart and get the output, use the following commands:
92120

93121
**Command**

0 commit comments

Comments
 (0)