Replies: 1 comment 3 replies
-
Decreasing volume size is normally not supported by Kubernetes and the different infrastructures. So this will always require some manual workarounds which will always be risky and nasty. If you use JBOD storage, you can add new smaller disk and then move the topics there using Kafka's reassignment script. And once you move them, you can remove the old disk. Otherwise, you will need to handle the deletions manually, but also take care that the new disks get synced in etc. before you delete the next one. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a cluster deployed with 15 brokers and would like to decrease the size of the disks on every broker across the cluster. We were hoping to do this by decreasing the global default storage across the cluster, setting the delete-claim setting to true, and then gradually replacing/adding brokers and rebalancing. This doesn't seem to work, after decreasing the default storage setting we are seeing the below message.
After attempting to add a new broker to see if it picked up the new storage setting, we have confirmed it does not. We understand that decreasing disk size is not supported by the underlying provider, but is it possible to change this default in a way where newly added brokers will pick up the new configuration for a smaller disk?
Beta Was this translation helpful? Give feedback.
All reactions