How to manage clean up when the PVCs associated with Strimzi become full due to logs and data #9012
Replies: 2 comments 1 reply
-
I guess first of all, using 4 disks with 20Gi each is a wrong way to run the Kafka cluster. The JBOD storage is useful when your disks are already big - for example in multiple Ti and you are reaching the disk size limits and performance limits. With 20Gi, it will bring lot more troubles then anything else. Please check this video: https://youtu.be/7gaOUjkuR68 which covers some of the issues.
If the disk is full and your Kafka cluster does not want to start anymore, the only way forward is to mount the disk into some helper pod and manually delete some files from it. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. Another question, could we create init container within the Kafka pod itself to perform cleanup tasks, rather than creating a separate helper pod. Could that be handled in the Kafka config? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we faced the problem that our strimzi cluster was crashing because of full disks. Even cleaning the tmp dir, was not enough and we detached and deleted the PVCs which is not the best way to maintain the cleaning properly. Could you please have a look at our kafka config and suggest better solution to maintain a regular cleanup of old and temporary data.
Also if you see something that could be overall improved , please note.
Beta Was this translation helpful? Give feedback.
All reactions