-
Notifications
You must be signed in to change notification settings - Fork 64
[improve](dcr) support pvc template and be multi-data disk #364
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
Conversation
intelligentfu8
left a comment
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.
check
intelligentfu8
left a comment
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.
check2
intelligentfu8
left a comment
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.
check3
| if pathConfig == "" { | ||
| return "" | ||
| } | ||
| path := strings.Split(strings.Split(pathConfig, ".")[0], ",")[0] |
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.
write separately.
intelligentfu8
left a comment
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.
check
|
LGTM |
What problem does this PR solve?
Improved the flexibility of DCR PVC configuration, configured the storage path according to fe.conf/be.conf, and implemented the configuration of be multi-data disk from ‘storage_root_path’.
storage_root_path=${DORIS_HOME}/aaa;${DORIS_HOME}/sss;${DORIS_HOME}/dddThe above configuration allows Doris be to mount three data disks as data storage media according to the following configuration
operator constructs the following pvcs:
This change is fully compatible with the previous configuration method, and the previous configuration rules can still be used.
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)