-
Notifications
You must be signed in to change notification settings - Fork 480
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
Add support for persistentVolumeClaimRetentionPolicy field in statefulset mode #3305
Comments
I am happy to help you with this.
|
Hi, and thanks for your propossal. I thought on recommend that solution too. But I didn't choose it because could be less explicit and could generate some confussion to users. I prefer a solution that it's clear that only works for statefulset mode and not getting users trying to use An intermediate solution could be:
Also, your solution could work too if documentation is clear enough about the |
Yeah, I've recommended that because AFAIK only the statefulset has this |
We already have a field at top level which only applies if the mode is opentelemetry-operator/apis/v1beta1/common.go Line 245 in a3feb2c
|
Sure thing. |
Component(s)
collector
Is your feature request related to a problem? Please describe.
I'm not able to change the persistentVolumeClaimRetentionPolicy field in statefulset mode. I need to change the default policy to delete the PVC's when the statefulset is scaled.
Describe the solution you'd like
Solution might be an optional configuration section for the statefulset specs like this:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: