Skip to content
Discussion options

You must be logged in to vote

I'm afraid that is not completely simple. Assuming you want to avoid downtimes, I guess there are two ways how to do it. The first one is:

  • Stop the operator / pause the reconciliation of the Kafka CR
  • Do a non-cascading delete of the StatefulSet / StrimziPodSet (depends on which Strimzi version you use)
  • Delete the first pod and its PVC
  • Create a new PVC with the right storage class
  • Start the operator / unpause the reconciliation
  • Wait until it recreates the pod and until the data resync
  • Start from the beginning and proceed with the next step

The second option might be to:

  • Edit the Kafka custom resource and change the storage class
  • Edit the StrimziPodSet / StatefulSet (depending on which S…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zawistowskipiotr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants