feat(script, yaml): add openebs basepath#362
Conversation
f71e317 to
56e3669
Compare
Codecov Report
@@ Coverage Diff @@
## master #362 +/- ##
=======================================
- Coverage 51.49% 51% -0.5%
=======================================
Files 55 55
Lines 2637 2637
=======================================
- Hits 1358 1345 -13
- Misses 1172 1182 +10
- Partials 107 110 +3
Continue to review full report at Codecov.
|
73333f5
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
`/var/openebs/ndm` will now be mounted to `/var/openebs/ndm` inside the container. This will prevent multiple sparse directories from being created on the host. Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
73333f5 to
e0a8451
Compare
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
| else | ||
| # making sure mountpath inside the container is available | ||
| if ! [ -d "${NDM_BASE_DIR}" ]; then | ||
| echo "OpenEBS/NDM Base directory not found" |
There was a problem hiding this comment.
I think to represent the message we should use $OPENEBS_BASE_DIR/$NDM_BASE_DIR
There was a problem hiding this comment.
NDM_BASE_DIR=OPENEBS_BASE_DIR/ndm. That's why used that error message.
| export GOTRACEBACK=crash | ||
|
|
||
| # openebs base directory inside the container | ||
| OPENEBS_BASE_DIR="/var/openebs" |
There was a problem hiding this comment.
This variable helps to understand how the NDM base path is constructed using the openebs base directory inside the container. Other than that it provides no additional information and is not used.
…hive#362) Make the location for saving the NDM cores inline with other openebs components by providing the location where core's should be saved. The default location is /var/openebs/ndm, which can be changed by passing the right value in the deployment file. Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
Make the location for saving the NDM cores inline with other openebs components by providing the location where core's should be saved. The default location is /var/openebs/ndm, which can be changed by passing the right value in the deployment file. Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
OpenEBS basepath has been added. Each component of openebs will have a directory under OPENEBS_IO_BASE_DIR on the host machine.
NDM components will be stored under
OPENEBS_IO_BASE_DIR/ndmon the host. Inside the NDM container this path will be mapped to/var/openebs/ndm.