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
Allow for EC Block Pool configurations to be defined in the rook-ceph-cluster Helm chart #9179
Comments
There might be a work-around possible in the chart by defining both pools as separate entities/array entries (one replica metadata pool and one EC data pool), explicitly disabling the storage class on the EC pool and extending the storage class configuration on the replica pool to set the parameter It'd still be nicer for this to be unified and be handled similarly across the different pool types instead of having to work around it in this manner. |
I would vote for this approach, it keeps the helm chart simplest.
So you'd have to define a whole new type such as |
Hmm that leaves the question of what the goal is for providing the Helm chart. Usually you'd want to use charts to simplify deployments and configuration and abstract away those manual details and complexity that do not add anything else other than complexity. If you need to do/define all the same things as when specifying whole spec file directly anyway, or in this case even start thinking about the configuration of two storageClass configurations in two array entries where normally you'd just define one, you might as well just do that instead of using a chart while also saving yourself the trouble of additional busywork and extra things to think about 🤔
That would not be needed and is also not desired imo. It should be easier and more straight forward to use the chart, not more complicated and add oddities you'll have to think about you otherwise wouldn't. As the minimum improvement I was thinking along the lines of making the definition style within the chart more similar to the other pool definitions; e.g. a I can probably try my hand at it at some point and also see if I can push it a little bit further than just that minimal change. When I tried to define other pools I also had to insert/provide a lot of information that should probably just be handled by the chart as it's the same regardless of the pool definition (e.g. the |
Agreed that the helm chart really should be simplifying the scenarios. As far as implementation, that does sound better than what I mentioned previously, and other improvements you mentioned sound good. Looking forward to a PR! :) |
The current version of the Helm chart requires a lot of manual repetition work and does not simplify the pool definitions over just manually defining pools in a spec file. This change unifies the pool values.yaml layout and abstracts away additional flags/options that can be inferred from the how the operator deployment sets up its environment. Closes: rook#9179 Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
The current version of the Helm chart requires a lot of manual repetition work and does not simplify the pool definitions over just manually defining pools in a spec file. This change unifies the pool values.yaml layout and abstracts away additional flags/options that can be inferred from the how the operator deployment sets up its environment. Closes: rook#9179 Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
The current version of the Helm chart requires a lot of manual repetition work and does not simplify the pool definitions over just manually defining pools in a spec file. This change unifies the pool values.yaml layout and abstracts away additional flags/options that can be inferred from the how the operator deployment sets up its environment. Closes: rook#9179 Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
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. |
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. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
can we have this PR in the next release, it is very useful for helm chat users. thanks |
@Javlopez Thanks for looking at this feature. Here are some thoughts on the changes needed... See the storageclass-ec.yaml example, which contains:
The cluster helm chart has a values.yaml that defines the |
Is this a bug report or feature request?
What should the feature do:
The rook-ceph-cluster Helm chart should be expanded to allow the cephBlockPools field to define erasure coded data pools.
What is use case behind this feature:
Ceph supports the use of erasure coded pools as the data pool for RBD / Block pools but when using the chart to define your pools this functionality can not currently be used.
The text was updated successfully, but these errors were encountered: