-
Notifications
You must be signed in to change notification settings - Fork 163
K8SPSMDB-1109: Add filesystem storage support for backups/restores #1682
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
| compare_mongo_cmd "find" "myApp:myPass@${cluster}-rs0.${namespace}" "${find_prefix}" ".svc.cluster.local" "myApp" "test" | ||
| } | ||
|
|
||
|
|
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.
[shfmt] reported by reviewdog 🐶
| required: | ||
| - credentialsSecret | ||
| type: object | ||
| filesystem: |
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.
please update cr.yaml as well and please create helm PR :)
inelpandzic
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.
This looks good. Just pls add example to cr.yaml.
| nfs: | ||
| server: "nfs-service.storage.svc.cluster.local" | ||
| path: "/psmdb-some-name-rs0" |
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.
do we have more parameters here that k8s supports?
CHANGE DESCRIPTION
Problem:
Filesystem backups are not supported.
Solution:
We already had most of the required mechanisms to enable backups to filesystem. This PR just adds
VolumeMountsto backup section, so user can configure their volumes inspec.replsets[].sidecarVolumesand mount them usingspec.backups.volumeMounts.CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability