Replies: 2 comments 1 reply
-
Are they not doing in-place upgrade only in this case because the Kubernetes version you use is so old? Or is it a general practice? Cluster migration using MM2 is a pretty nasty process. And if you would be expected to do it for every Kubernetes release, you would get crazy from it. So - to be honest - if that is the case, I would consider not using Strimzi/Kubernetes and moving to VMs. If it is one of thing, then obviously the migration and then continuing with in-place upgrades makes sense.
Honestly, I do not think the 0.46.0 also brings KAfka 4.0.0 with all kind of fixes and improvements to KRaft etc. So assuming you do not want to start with Strimzi 0.45 and ZooKeeper, 0.46 would be IMHO much better choice. It is now anyway few monts old I think.
MM2 does not care about Zoo versus KRaft, so yes, you can do it.
No, MM2 does not care what Strimzi version is used to run the Kafka cluster (or in fact whether it even is a Strimzi-based KAfka cluster). So you should be fine.
Yes, you can have KRaft for the destination cluster. |
Beta Was this translation helpful? Give feedback.
-
Thanks @scholzj and @ppatierno, I really appreciate your valuable comments. Here is the outcome after discussing it with my peers.
The information I got from them is that the underlying OS version is old, so they are going to have a new cluster this time alone. It won't happen in the future. Thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Experts,
Need your kind attention and suggestion on our issue.
Current setup
Currently we are running pretty old strimzi version (
0.31.1
) on our K8s cluster versionv1.21.12
New setup
For various reasons, our container team is not going for an in-place upgrade, and they are building a new k8s cluster with Kubernetes version:
v1.30.8
.Problem
Now I have to move the Kafka cluster with data from old k8s cluster to the new one.
Approach:
I am planning to deploy Strimzi's latest version.
0.45.0
(n-1 approach, which means one version below the latest), and going to use the MM2 to replicate the data since we need to preserve the offsets.Now questions:
If nothing works, then I have to create the same version of the Kafka Strimzi cluster at the destination with zookeeper and then migrate the data with MM2, then move the cluster to Kraft mode?
Thanks
Senthil
Beta Was this translation helpful? Give feedback.
All reactions