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

Provider keeps updating and creating objects #316

Open
recht opened this issue Nov 28, 2024 · 0 comments
Open

Provider keeps updating and creating objects #316

recht opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@recht
Copy link
Contributor

recht commented Nov 28, 2024

What happened?

We recently upgraded from 0.9 to 0.16, and a while after that we modified an existing XR to add more Object resources. When applied, provider-kubernetes kept creating the objects over and over again with different names. At this point we also noticed that the generation field of all previous Objects had been incremented to around 14000, and a watch on one of the resources showed that it kept being updated every minute (no actual changes, just a write that triggered a new generation/resourceVersion).

We triaged the problem to be in 0.14.0 - any release before that only creates objects once and do not keep updating existing objects, any version after has that behavior.

Debug logging only showed Reconciling/Observing/Up to date!, so there's some indication that it's because it's either doing an update no matter what, or maybe it's updating the status?

This screenshot shows number of reconciles, and it's quite visible where we downgraded to 0.13.0.

Screenshot from 2024-11-28 19-35-22

How can we reproduce it?

Reproducing outside our environment is unclear, but the generation/resourceVersion of the Object k8s resources kept increasing every minute once the provider is at least v0.14.0.

What environment did it happen in?

Crossplane version: v0.17.3, provider-kubernetes v0.14.0-v0.16.0

@recht recht added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant