Skip to content
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

Feature Request: Support for revisionHistoryLimit #12722

Open
reefland opened this issue Aug 14, 2023 · 21 comments
Open

Feature Request: Support for revisionHistoryLimit #12722

reefland opened this issue Aug 14, 2023 · 21 comments
Labels
feature good-first-issue Simple issues that are good for getting started with Rook.
Projects

Comments

@reefland
Copy link

reefland commented Aug 14, 2023

Is this a bug report or feature request?

  • Feature Request

Enable support for revisionHistoryLimit to be specified in the CephCluster CR, which can then be used in the helm chart.

  • To allow reducing the Kubernetes default of 10 to something else like 3 as every plugin, ceph-tools, crash collector, mds, rgw, mgr, operator, every OSD will maintain 10 copies.
  • Loading the rook-ceph namespace and working with it from the CLI or a GUI like ArgoCD is cumbersome, waiting for all the copies of each objects to load and render.

This was discussed #12693 where @travisn started a list of changes to be considered.

@reefland reefland added the bug label Aug 14, 2023
@travisn travisn added this to To do in v1.12 via automation Aug 14, 2023
@travisn travisn added the good-first-issue Simple issues that are good for getting started with Rook. label Aug 14, 2023
@travisn travisn changed the title Feature Request: Helm Suport for revisionHistoryLimit Feature Request: Support for revisionHistoryLimit Aug 14, 2023
@travisn
Copy link
Member

travisn commented Aug 14, 2023

Since this is not dependent on helm installs, I removed Helm from the title since all installs would benefit from this feature request.

@subhamkrai subhamkrai self-assigned this Aug 16, 2023
@ashutosh887
Copy link

Let me work on this @subhamkrai

@subhamkrai
Copy link
Contributor

subhamkrai commented Sep 6, 2023

@ashutosh887 I see you have commented on a few other issues to work on. How about you pick any one issue first and move to the next issue? Thanks for looking at the issues :)

@ashutosh887
Copy link

@subhamkrai
Did you assign me on any of them?

@subhamkrai subhamkrai removed their assignment Sep 6, 2023
@subhamkrai
Copy link
Contributor

@subhamkrai Did you assign me on any of them?

@ashutosh887 you can self-assign this issue now https://github.com/rook/rook/blob/master/Documentation/Contributing/development-flow.md#self-assign-issue

@ashutosh887
Copy link

Thanks a lot @subhamkrai
I didn't knew that's enabled here

/assign

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Thanks for taking this issue! Let us know if you have any questions!

@subhamkrai
Copy link
Contributor

subhamkrai commented Sep 6, 2023

Thanks a lot @subhamkrai I didn't knew that's enabled here

sure

@rook rook deleted a comment from github-actions bot Sep 6, 2023
@travisn travisn removed this from To do in v1.12 Oct 31, 2023
@travisn travisn added this to To do in v1.13 via automation Oct 31, 2023
@travisn
Copy link
Member

travisn commented Oct 31, 2023

Unassigned due to inactivity

@BlaineEXE
Copy link
Member

I think it would be best to provide this configurable on each CRD that creates ReplicaSets as well. CephCluster, CephObjectStore, CephFilesystem, CephNFS are the big ones I can think of.

I wonder if the other controllers should default to the CephCluster value if unset as well.

@travisn thoughts?

@obnoxxx obnoxxx removed the bug label Nov 1, 2023
@travisn travisn added the feature label Nov 1, 2023
@obnoxxx
Copy link
Contributor

obnoxxx commented Nov 1, 2023

changed the label from Bug to Feature since that's what the title and description say.

@travisn
Copy link
Member

travisn commented Nov 1, 2023

I think it would be best to provide this configurable on each CRD that creates ReplicaSets as well. CephCluster, CephObjectStore, CephFilesystem, CephNFS are the big ones I can think of.

I wonder if the other controllers should default to the CephCluster value if unset as well.

@travisn thoughts?

If there is a reason to customize each daemon, sounds good to add it to each CR, but perhaps we just start with the CephCluster CR setting to keep it simple for all daemons to inherit.

@Sheetalpamecha
Copy link
Contributor

/assign

Copy link

github-actions bot commented Nov 2, 2023

Thanks for taking this issue! Let us know if you have any questions!

@obnoxxx
Copy link
Contributor

obnoxxx commented Nov 2, 2023

@Sheetalpamecha I'm also interested in taking this up but didn't want to just take it away from you. Would you be OK if I also started working on a patch for this? If you have already started serious work on it, I'll refrain from looking further 😄

@Sheetalpamecha
Copy link
Contributor

Hey @obnoxxx I'm almost done with the patch. :)

@travisn
Copy link
Member

travisn commented Dec 11, 2023

@Sheetalpamecha Still planning on this?

@travisn travisn removed this from To do in v1.13 Feb 12, 2024
@travisn travisn added this to To do in v1.14 via automation Feb 12, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

@parth-gr
Copy link
Member

./assign

Copy link

Thanks for taking this issue! Let us know if you have any questions!

@BlaineEXE
Copy link
Member

I wonder if this should be an operator-scope setting, like ROOK_REVISION_HISTORY_LIMIT. I don't imagine that many users would want to change this setting on a per-cephcluster basis -- probably cluster-wide instead. And an operator setting might make it more clear that this behavior will be used for all Rook pods and not just the CephCluster resource.

@travisn travisn removed this from To do in v1.14 May 28, 2024
@travisn travisn added this to To do in v1.15 via automation May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good-first-issue Simple issues that are good for getting started with Rook.
Projects
v1.15
To do
Development

No branches or pull requests

8 participants