-
Notifications
You must be signed in to change notification settings - Fork 66
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
Do we support use storage size equal or greater than 1024Gi? #596
Comments
The size does not seem to be the issue in other ways than Kubernetes trying to update the Spec. So, from what I can see in the logs is that after you've created If you wish to overcome this issue, simply write the size as |
Here's the relevant part from my debug logs:
The This is probably something we could detect, but for now, setting it directly to
|
Thank you Michael~ that's really helps. Will find a maintenance Windows to do this. |
Hey, that's sadly a limitation of StatefulSets (and some StorageClasses), see #263 for more details. |
Michael, got it. Thanks for the explanation. Just one more question. If we want to specify 1.5T, what kind of value is suggested. 1.5Ti or 1536Gi? |
Sadly there I think the Gi is the correct method..
|
What happened?
Hi experts,
We are continously seeing this kind of error with storage size set to 1024Gi when deploying CassandraDatacenter.
"admission webhook "vcassandradatacenter.kb.io" denied the request: CassandraDatacenter write rejected, attempted to change storageConfig"
storageConfig:
cassandraDataVolumeClaimSpec:
reclaimPolicy: Retain
But, once we reduced the size to a smaller one, say 500Gi, then services come up as expected with all required pvc created successfully.
Would you kindly suggest if there is any limation to the storage size?
Install command: helm install cass-operator k8ssandra/cass-operator -n cass-operator--version=0.40.0
Cluster is running on AKS+managed-csi-premium
What did you expect to happen?
Support storage size equal or greater than 1024Gi.
How can we reproduce it (as minimally and precisely as possible)?
Cluster running on AKS and deploy CassandraDatacenter with storage size 1024Gi.
sample configuration:
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
name: cassandra
namespace: cass-operator
spec:
clusterName: xxxx
serverType: cassandra
serverVersion: "4.0.7"
managementApiAuth:
insecure: {}
size: 3
allowMultipleNodesPerWorker: true
resources:
requests:
cpu: 500m
memory: 24Gi
limits:
cpu: 2
memory: 24Gi
storageConfig:
cassandraDataVolumeClaimSpec:
reclaimPolicy: Retain
cass-operator version
0.40.0
Kubernetes version
v1.25
Method of installation
helm
Anything else we need to know?
No response
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-15
The text was updated successfully, but these errors were encountered: