-
Hello, We are using Longhorn & Strimzi operator in our cluster. Sometime, due to an IO issue, longhorn volume become read-only, this is a safety mechanism of Longhorn. In previous strimzi version, it was not a problem, Strimzi was creating a statefullset layer to manager pods, it's not the case anymore, Strimzi operator now manage pods directly (probably for a good reason). Modify liveness or readiness will only make the pod restart, and restart doesn't trigger a detachment/attachment from a kubernetes point of view. Do you have any idea about how to workaround that problem? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'm not sure we want/can add custom workarounds for various storage implementations out there. We do not have the resources to maintain that, but also don't have any resources to test things like that to make sure they still work etc. Maybe Longhorn can add support for some annotation or something on the Pod that you can use to tell it that it should delete even the od managed by a custom controller? You can set such annotation through the Kafka CR for example to control it. |
Beta Was this translation helpful? Give feedback.
I guess it depends on how you look at it:
So, ideally, you should not delete the Pods on your own like this. But in a scenario like this, I do not think it really matters.