-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bug: Inventory updates should tolerate drift (and overwrite it) #559
Comments
The main client causing drift right now is the Config Sync resource-group-controller, which updates the ResourceGroup (inventory) status. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
Right now, inventory updates may return a conflict error from Kubernetes. The inventory client should detect this (
apierrors.IsConflict(err)
) and retry with a new Get (to update the ResourceVersion) + Update.Example retry code:
example usage:
Another option is to use https://github.com/flowchartsman/retry which is nice and generic. gcloud and client-go also have retry libs.
The text was updated successfully, but these errors were encountered: