[CPCAP-12251] feature: fsmount - #824
Closed
alexarefev wants to merge 30 commits into
Closed
alexarefev wants to merge 30 commits into
alexarefev wants to merge 30 commits into
Conversation
alexarefev
marked this pull request as ready for review
August 11, 2026 09:01
alexarefev
requested review from
disa1217,
nikhil1697,
pranavcracker and
theboringstuff
August 11, 2026 09:01
disa1217
approved these changes
Aug 13, 2026
disa1217
left a comment
Collaborator
There was a problem hiding this comment.
@alexarefev , checked.
alexarefev
marked this pull request as draft
August 17, 2026 10:41
alexarefev
marked this pull request as ready for review
August 17, 2026 12:38
alexarefev
marked this pull request as draft
August 18, 2026 12:05
alexarefev
marked this pull request as ready for review
August 20, 2026 09:58
theboringstuff
approved these changes
Aug 21, 2026
disa1217
approved these changes
Aug 21, 2026
disa1217
left a comment
Collaborator
There was a problem hiding this comment.
@alexarefev , checked the documents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Solution
fsmountinto preparation section with the following description:name- name of the item just for indicationenabled- defines if the item must be processeddevice- the device filepath- the mount pointsize- the size of the disk, it's needed for example for tmpfs (optional)template.source- the path to systemctl unit template that should be rendered by the options abovetemplate.destination- the path where the systemctl unit must be put on the cluster nodepreparation_script- the script that must be finished successfully to initiate the filesystem creation (optional); basically it install necessary packages, modules and so no to run systemctl unit successfully; if it finishes with error fsmount task for that item must be skippedgroups- the list of the nodes roles where the task must be applied (optional)nodes- the list of the nodes where the task must be applied (optional)groupsandnodesmust be merged before the run; if both groups and nodes are empty - the task is skippedcheck_paastaskTest Cases
TestCase 1
Check if the installation procedure is working
Test Configuration:
Steps:
kubemarine installwith the following settings incluster.yaml:Results:
containerLogMaxoptions are set in /var/lib/kubelet/config.yamlTestCase 2
Check if the mount_fs procedure is working
Test Configuration:
Steps:
kubemarine reconfigureon existing cluster with the following settings inprocedure.yaml:kubemarine mount_fson existing cluster with the following settings inprocedure.yaml:Results:
containerLogMaxoptions are set in /var/lib/kubelet/config.yamlChecklist