Replies: 1 comment 5 replies
-
If you want, you can for example pause the reconciliation of the Kafka clusters before you do the operator upgrade and then unpause them in any order and timing you want. That essentially does your manual rolling update. But the rolling update is not just because of the CVEs - that is only one of the aspects. It is also needed for the operator to understand the state and configuration of the clusters it is supposed to operate. So I do not think that the rolling update can be really avoided in general. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Today when we upgrade the Cluster Operator it causes rolling update for ALL the Kafka Clusters that the operator manages.
I understand that its for CVE fixes and some other reasons.
We know that rolling updates have effect on the Kafka Cluster.
For example, If the pod rolled was the leader partition for a topic a new leader is required and the election takes some time
and in that time the produce CAN'T send message to that partition.
I've seen that @scholzj said: "I'm not sure if I mentioned it before in this thread or somewhere else. But the rolling updates in general have always some disruption."
I find this issue very problematic, as the Operator forces rolling update on all the clusters in the same time.
I propose allowing MANUAL rolling update for the Kafka Clusters (I saw these were proposals for the mirrorMaker and the Connect).
Could these changes occur dynamically like we can change configurations of kafka (spec.config) without rolling update?
Or maybe other solutions could be found.
Beta Was this translation helpful? Give feedback.
All reactions