-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RabbitMQ operator restarts on Flux's labels change #414
Comments
All objects coming from the repo are labeled but that shouldn't cause any restarts unless the RabbitMQ operator reacts to changes in the |
Thanks a lot for pointing that out. I didn't realize that a new commit will change the label for all resources. I just tried to add a label to the custom resource that defines the RabbitMQ cluster and sure enough that causes the operator to restart the RabbitMQ pods. |
For now the workaround is to move the RabbitMQ manifests to the root of your repo e.g.
After you commit the change and rabbitmq is reconciled, you can suspend it with I'm going to make some changes to how labels work so that the checksum label will not be added for |
Thank you, the workaround works. I'll then remove the suspension after the next Flux release. |
I'm experiencing an issue where Flux seems to change resources in the cluster that were not changed in the commit pushed to the source repository. I noticed this because the RabbitMQ operator in the cluster senses a change that requires a restart of the RabbitMQ pods. In other words, every push currently causes a restart of our RabbitMQ cluster even though no RabbitMQ manifests were changed.
This is a log excerpt for adding a label to a single deployment:
I've shortened the 2nd and last line. The 2nd line shows every resource in the cluster as
configured
.The last line shows most resources as
unchanged
, including the deployment that the label was added to. Some resources, especially CRD definitions show up asconfigured
.Any directions for debugging this issue further are appreciated.
The installation was bootstrapped with Flux version 0.2.1
The text was updated successfully, but these errors were encountered: