Skip to content
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

cilium-olm operator rewrites the cilium-olm ConfigMap about once every 2 seconds #88

Open
domq opened this issue Mar 8, 2024 · 1 comment

Comments

@domq
Copy link

domq commented Mar 8, 2024

watch -n 0.1 time oc -n cilium get ConfigMap cilium-olm -o jsonpath='"{ .metadata.resourceVersion }"'

shows the .metadata.resourceVersion increasing by 10–15 units every 2 seconds. (We can see that oc command is nearly instant, from the digits of time moving while the .metadata.resourceVersion stays fixed for a while, then increases as described.)

Lowering the Deployment's replicas to 0 stops the increase, at least until our OpenShift olm operator restores the replica count to 1.

@domq domq changed the title cilium-olm operator rewrites the cilium-olm ConfigMap at a very high rate cilium-olm operator rewrites the cilium-olm ConfigMap about once every 2 seconds Mar 8, 2024
@domq
Copy link
Author

domq commented Mar 8, 2024

2 seconds is the defaultRetryPeriod in leader elections, which might indicate a problem there (since a successful leader presumably shouldn't have to retry?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant