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

feat: Retry Kubernetes update requests #1847

Merged

Conversation

nabokihms
Copy link
Member

Kubernetes provides API consistency through resourceVersion field. Updating resource with a higher resource version than contained in storage cause conflict errors. Users may encounter such errors, which is unwanted behavior. In my opinion, it's good just to retry a failed request in case of conflict.

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
@nabokihms nabokihms force-pushed the retry-kubernetes-update-requests branch from 3790f02 to be378dd Compare October 28, 2020 08:47
@sagikazarmark sagikazarmark added this to the v2.26.0 milestone Nov 5, 2020
Copy link
Member

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@sagikazarmark sagikazarmark merged commit 40409ea into dexidp:master Nov 5, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants