Replies: 1 comment 5 replies
-
I don't think we would want to support any namespace selectors. That would require watching per-namespace which doesn't scale and is inefficient. Why don't you use custom resource labels instead? They are already available. |
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
-
We are using Strimzi for the majority of our Kafka clusters atm and aside from some resourcing issues (we're running like 20 single broker Kafka clusters in 1 k8s cluster), it's been great. We'd like to raise a problem that we are about to face and see whether there would be any interest by the community for such a feature.
Problem Statement
Upgrading the Cluster Operator for a k8s cluster hosting many Kafka clusters can be a time consuming process. All Kafka clusters need to be upgraded to a Kafka version supported by the current CO version and the target CO version. This process can take a long time to complete. This gets compounded when the target Kafka version is a higher version (e.g. 2.8 to 3.3 involves multiple CO and Kafka upgrades). This also becomes harder if these clusters are being used (e.g. for demo purposes) and thus the users would push back on such upgrades.
Proposed Solution
We propose doing something similar to Istio's Canary Upgrades, where the CO can be deployed with a revision label, and discovers namespaces to watch via a matching revision label on the namespace. This will allow users to deploy multiple versions of the CO to the same cluster/namespace, and change which namespaces they watch via namespace labels. We believe this will also make gradual rollouts of new CO and new Kafka versions easier.
Alternatives Considered
We could run a job when creating/upgrading a Kafka cluster, which would modify the watched namespaces list on the CO deployment. Whilst this would technically work, it will cause the CO to roll out, making Kafka cluster upgrades longer, potentially blocking new cluster creation as well.
Beta Was this translation helpful? Give feedback.
All reactions