-
Notifications
You must be signed in to change notification settings - Fork 558
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
deploy: Add skipForceFlatten for daemonset nodeplugin #4869
Conversation
Signed-off-by: muxuelan <[email protected]>
Hi @muxuelanKK, thanks for the PR! Could you update the title of your commit to something like
A keyword like Currently the PR description does not contain anything useful. You can either use the template that is present now, or describe the need for the change in free form (it is good practice to include a description in the commit too). |
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 the documentation as well for the new fields
hardMaxCloneDepth: 8 | ||
# Soft limit for maximum number of nested volume clones that are taken before | ||
# a flatten occurs | ||
softMaxCloneDepth: 4 | ||
# Maximum number of snapshots allowed on rbd image without flattening | ||
maxSnapshotsOnImage: 450 | ||
# Minimum number of snapshots allowed on rbd image to trigger flattening | ||
minSnapshotsOnImage: 250 |
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.
can we comment these out instead of having default here as well?
hardMaxCloneDepth: 8 | ||
# Soft limit for maximum number of nested volume clones that are taken before | ||
# a flatten occurs | ||
softMaxCloneDepth: 4 | ||
# Maximum number of snapshots allowed on rbd image without flattening | ||
maxSnapshotsOnImage: 450 | ||
# Minimum number of snapshots allowed on rbd image to trigger flattening | ||
minSnapshotsOnImage: 250 |
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.
These values can be set for both controller and nodeplugin, lets have it in a common place and use it in both controller and plugins
- "--rbdhardmaxclonedepth={{ .Values.nodeplugin.hardMaxCloneDepth }}" | ||
- "--rbdsoftmaxclonedepth={{ .Values.nodeplugin.softMaxCloneDepth }}" | ||
- "--maxsnapshotsonimage={{ .Values.nodeplugin.maxSnapshotsOnImage }}" | ||
- "--minsnapshotsonimage={{ .Values.nodeplugin.minSnapshotsOnImage }}" |
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.
can you please make similar changes to deployment as well?
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.
Deployment already had, it's no need to add.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed due to inactivity. Please re-open if these changes are still required. |
Describe what this PR does
Provide some context for the reviewer
Is there anything that requires special attention
Do you have any questions?
Is the change backward compatible?
Are there concerns around backward compatibility?
Provide any external context for the change, if any.
For example:
Related issues
Mention any github issues relevant to this PR. Adding below line
will help to auto close the issue once the PR is merged.
Fixes: #issue_number
Future concerns
List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.
Checklist:
guidelines in the developer
guide.
Request
notes
updated with breaking and/or notable changes for the next major release.
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)