StrimziPodSets: strimzi.io/revision differs across Kafka pods but reconciliation shows no changes #9819
-
Hi, we've recently deployed When viewing the Kafka pods we see a different Is it normal to expect that the new
Also, the cluster appears to be running normally despite the different From the docs at https://github.com/strimzi/proposals/blob/main/031-statefulset-removal.md it isn't entirely clear:
Is the "generation annotation" the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is correct. The revision of the pod is based on its YAML definition. It is used to detect if something changed in it and a rolling update might be needed (as Pods are in general immutable). As each of the pods differs (different name, different volumes are mounted etc.), they have also a different revision each. StatefulSet works a bit differently - as far as know, it bases the hash on the template which is identical for all pods as it doesn't have the differences yet rendered in it (as it is just a template). |
Beta Was this translation helpful? Give feedback.
That is correct. The revision of the pod is based on its YAML definition. It is used to detect if something changed in it and a rolling update might be needed (as Pods are in general immutable). As each of the pods differs (different name, different volumes are mounted etc.), they have also a different revision each.
StatefulSet works a bit differently - as far as know, it bases the hash on the template which is identical for all pods as it doesn't have the differences yet rendered in it (as it is just a template).