Bug: Operator constantly reconciling #2136
-
Describe the bugThe operator is constantly reconciling, around 4-5 times per second, even though there are no changes. To ReproduceSteps to reproduce the behavior:
Expected behavior Version and environment information
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
I can't reproduce this locally without ArgoCD or Helm. The most likely explanation I can provide is that either ArgoCD or Helm (most likely ArgoCD) is updating some resources created by Operator, and that's causing a reconcile, because the Operator watches and owns all resources it creates to support rabbit i.e. StatefulSet, Service, Secret, etc. Alternatively, if ArgoCD is deploying the Helm chart, which deploys a |
Beta Was this translation helpful? Give feedback.
-
|
I'm also curious about using https://www.rabbitmq.com/kubernetes/operator/using-operator#image-pull-secrets |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the hints. Setting imagePullSecrets within spec didn't help, but I found an unrelated(?) setting of a specific label by ArgoCD created this reconciliation loop. It stopped as soon as I set this label in the RabbitmqCluster manifest. It appears that the operator tries to remove this label while ArgoCD wants to apply it. |
Beta Was this translation helpful? Give feedback.
Thanks for the hints. Setting imagePullSecrets within spec didn't help, but I found an unrelated(?) setting of a specific label by ArgoCD created this reconciliation loop. It stopped as soon as I set this label in the RabbitmqCluster manifest. It appears that the operator tries to remove this label while ArgoCD wants to apply it.