Kafka pvcs out of sync in Argo #7205
-
Starting with operator 0.29.0 all the kafka pvcs appear as out of sync in Argo, as if they need to get deleted. Trying to force sync or something still doesn't work. The pvcs get created but Argo says they need to be deleted. This didn't happen to previous versions of the operator. Is this normal behaviour? Did the creation of pvcs change? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 17 replies
-
0.30.0 changed the default from StatefulSets to StrimziPodSets (there are IIRC other discussions on this on Slack and here on GitHub). But there was no change in 0.29. |
Beta Was this translation helpful? Give feedback.
-
In my opinion I think the best solution is to use argo's annotation+label tracking, it will know much better what resources it actually needs to track |
Beta Was this translation helpful? Give feedback.
-
It's something available in the latest versions of argo, I am using it, it already works. There is nothing to do on kafka side, it's just a configuration when deploying argo.It will add an argo annotation instead of label or both( with annotation+label) to all resources that need to be managed by argo. And this way argo will know better what resources to manage, it will know if some resources were created by someone else. And I already tried this with kafka and it won't see it's pvcs so they can't get out of sync. |
Beta Was this translation helpful? Give feedback.
-
@ilja-ag do you have a answer to above issues,we have same problems now that we need to remove the feature flag that allows us to use stateful sets as we need to upgrade to 0.36.1 strimzi and argo shows the out of sync (requires pruning) for PVCS and CRB? |
Beta Was this translation helpful? Give feedback.
-
Looks like Argo recommends this:
In the Argo UI it shows the Application is Synced, even though the PVCs are not synced. I think that's why also want you to set prune false to be safe! |
Beta Was this translation helpful? Give feedback.
-
Hi @scholzj, |
Beta Was this translation helpful? Give feedback.
0.30.0 changed the default from StatefulSets to StrimziPodSets (there are IIRC other discussions on this on Slack and here on GitHub). But there was no change in 0.29.