-
Notifications
You must be signed in to change notification settings - Fork 556
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 docs and references on mayastore storage #9068
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ To see a live demo of this section, see the video below: | |
#### Prep Nodes | ||
|
||
Either during initial cluster creation or on running worker nodes, several machine config values should be edited. | ||
(This information is gathered from the Mayastor [documentation](https://mayastor.gitbook.io/introduction/quickstart/preparing-the-cluster).) | ||
(This information is gathered from the Mayastor [documentation](https://openebs.io/docs/Solutioning/openebs-on-kubernetes-platforms/talos).) | ||
We need to set the `vm.nr_hugepages` sysctl and add `openebs.io/engine=mayastor` labels to the nodes which are meant to be storage nodes. | ||
This can be done with `talosctl patch machineconfig` or via config patches during `talosctl gen config`. | ||
|
||
|
@@ -96,6 +96,16 @@ First create a config patch file named `mayastor-patch.yaml` with the following | |
path: /machine/nodeLabels | ||
value: | ||
openebs.io/engine: mayastor | ||
- op: add | ||
path: /machine/kubelet/extraMounts | ||
value: | ||
- destination: /var/local | ||
type: bind | ||
source: /var/lib/local | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While mayastore recommends There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it should match I guess something in the installed helm chart? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am suggesting for the source. Lets leave destination as it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there's something broken here. I guess there's somewhere |
||
options: | ||
- bind | ||
- rshared | ||
- rw | ||
``` | ||
|
||
Using gen config | ||
|
@@ -118,7 +128,11 @@ talosctl -n <node ip> service kubelet restart | |
|
||
#### Deploy Mayastor | ||
|
||
Continue setting up [Mayastor](https://mayastor.gitbook.io/introduction/quickstart/deploy-mayastor) using the official documentation. | ||
Continue setting up [Mayastor](https://openebs.io/docs/quickstart-guide/installation) using the official documentation. | ||
|
||
> Note: The Mayastor helm chart uses an init container that checks for the `nvme_tcp` module. | ||
> It does not mount `/sys` and will not be able to find it. | ||
> Easiest solution is to disable the init container. | ||
|
||
### Piraeus / LINSTOR | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the mount path difference
/var/local
vs./var/lib/local
intentional?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Openebs suggests
/var/local
- https://openebs.io/docs/Solutioning/openebs-on-kubernetes-platforms/talosThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean that mounting under different paths is an unusual thing, as usually you want kubelet to see same path structure as the host, otherwise some features won't work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this one of the templates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All instances (of /var/local) use
/var/local/{{ $.Release.Name }}
prefix - so i guess we can safely make it/var/local/openebs
?