Increase Volume Size/ Change fs from ext4 to xfs via the Helm Operator #3994
-
Is there any way to increase the default volume size for Red Panda brokers? Also, can we tweak the fs from ext4 to xfs? I see 'defaultDatadirCapacity = 100Gi' in src/go/k8s/pkg/resources/statefulset.go but I am not sure where to pass the arg that would allow me to change it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
@nicolaferraro @dimitriscruz or @RafalKorepta any thoughts here? |
Beta Was this translation helpful? Give feedback.
-
cc: @i-x |
Beta Was this translation helpful? Give feedback.
-
I don't think we offer of a way to adjust the defaults, but when creating a cluster you can set the capacity under
Could you describe your use case for providing a default value for an operator instance? In terms of xfs vs. ext4, the operator doesn't specify the filesystem, instead that is determined (indirectly) by the storage class name. By default that value is empty, hence the default storage class of your k8s cluster is used. (The operator does not create any storage classes). If you'd like to use xfs, you can create a storage class and provide the name in the spec snippet above. You can find a detailed explanation and an example here: #681 |
Beta Was this translation helpful? Give feedback.
-
Works great! I don't have a use case for setting a default. Was just my first time working with an operator like this and was not sure how to change the values in question. |
Beta Was this translation helpful? Give feedback.
I don't think we offer of a way to adjust the defaults, but when creating a cluster you can set the capacity under
spec
:Could you describe your use case for providing a default value for an operator instance?
In terms of xfs vs. ext4, the operator doesn't specify the filesystem, instead that is determined (indirectly) by the storage class name. By default that value is empty, hence the default storage class of your k8s cluster is used. (The operator does not create any storage classes). If you'd like to use xfs, you can create a storage class and provide the name in the spec snippet above. You can find a detailed explanatio…