Skip to content

add retrying k8s client implementation #79

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

Merged
merged 4 commits into from
Jul 14, 2025
Merged

add retrying k8s client implementation #79

merged 4 commits into from
Jul 14, 2025

Conversation

Diaphteiros
Copy link
Contributor

What this PR does / why we need it:
Adds a client.Client implementation that can be configured to retry operations multiple times instead of returning an error on the first unsuccessful attempt.

Which issue(s) this PR fixes:
Required for openmcp-project/openmcp-operator#67

Special notes for your reviewer:
Factored out of #66

Release note:

Added a `pkg/retry` package that contains a `client.Client` implementation which retries failed k8s operations according to configurable parameters (interval, max number of attempts, timeout, interval backoff multiplier).

@Diaphteiros Diaphteiros merged commit 264bad4 into main Jul 14, 2025
7 checks passed
@Diaphteiros Diaphteiros deleted the retry branch July 14, 2025 14:42
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.

3 participants