-
Notifications
You must be signed in to change notification settings - Fork 5
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
I can't understand how increase pvc in nificluster #474
Comments
Hi @grandeon, can you please specify the operator version you are using? We currently do not support increasing existing PVCs (working on that). So updating the PVC size of a running cluster is currently only possible manually. In case you want to create a new cluster with bigger PVCs please try (camelCase instead of snake_case for the repo specification):
I hope this helps. Cheers, |
You can increase the size of an already existent pvc using e.g. https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/ |
These are my operator's releases: helm list -n stackable
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
commons-operator stackable 1 2023-05-22 15:44:37.780486365 +0200 CEST deployed commons-operator-0.0.0-dev 0.0.0-dev
nifi-operator stackable 1 2023-05-22 15:45:31.792361638 +0200 CEST deployed nifi-operator-0.0.0-dev 0.0.0-dev
secret-operator stackable 3 2023-05-25 16:42:01.018496377 +0200 CEST deployed secret-operator-0.0.0-dev 0.0.0-dev
zookeeper-operator stackable 1 2023-05-22 15:45:17.052818755 +0200 CEST deployed zookeeper-operator-0.0.0-dev 0.0.0-dev But I tried too with the stable version with the same problem: helm install --wait commons-operator stackable-stable/commons-operator --version 23.4.0 -n stackable
helm install --wait secret-operator stackable-stable/secret-operator --version 23.4.0 -n stackable
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.4.0 -n stackable
helm install --wait nifi-operator stackable-stable/nifi-operator --version 23.4.0 -n stackable I can't understand this:
Thank you very much and sorry for my lack of knowledge |
This has worked for me as a workaround and as a possible way to increase volume in the future. My question was more about the option to request more storage when creating the cluster, but it works for me at least for now. Thank you so much! # Before
...
status:
accessModes:
- ReadWriteOnce
capacity:
storage: 2Gi
conditions:
- lastProbeTime: null
lastTransitionTime: "2023-05-30T13:37:05Z"
status: "True"
type: Resizing
phase: Bound # after:
...
status:
accessModes:
- ReadWriteOnce
capacity:
storage: 12Gi
... |
Hi @grandeon, |
The branches did not let me see the forest! And many thanks to all of you who make Stackable possible! |
That's totally fine, we can't know everything! Glad it worked out for you! All the best, |
I followed the NiFi Operator documentation where it still uses snacke_case: https://docs.stackable.tech/home/stable/nifi/usage_guide/resource-configuration.html Thank you so much! |
Thanks for pointing that out! Will fix it immediately. (Because the docs are version will will only show up in the nightly version and afterwards in 23.7) |
Oh it's already fixed in the nightly version. Will be in the stable version once we release 23.7: |
Hi everybody,
I'm trying to increase the deafult pvc for a nifi cluster but I can't got it.
This is the configuration I'm using:
The configOverrides section works fine.
I can increase the cpu and memory resources, but not the storage. Always I get the default pvc size.
What is my misconfiguration?
Can someone help me?
Thank you so much!!
The text was updated successfully, but these errors were encountered: