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

Automatic retry logic #3429

Open
PRIHLOP opened this issue Jan 15, 2025 · 1 comment
Open

Automatic retry logic #3429

PRIHLOP opened this issue Jan 15, 2025 · 1 comment
Labels
area/await-logic kind/enhancement Improvements or new features

Comments

@PRIHLOP
Copy link

PRIHLOP commented Jan 15, 2025

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

I have an issue with no configurable retries to connect to Kubernetes API. If the cluster is unavailable at the moment of apply action or if some network issue appears pulumi-kubernetes does not try to retry apply action request. But, I think this option should be configurable to make the provider more flexible.

If automatic retry logic does not exist for query/idempotent requests, retry logic should be added. If retry logic does exist, perhaps its behavior could be exposed as parameters on the provider (i.e. # of retry attempts, backoff base, backoff duration)

@PRIHLOP PRIHLOP added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Jan 15, 2025
@rquitales
Copy link
Member

We currently do not attempt any retries if a create/update/delete request fails. This is a good suggestion and we'll add this to our backlog for consideration. Thanks!

@rquitales rquitales added area/await-logic and removed needs-triage Needs attention from the triage team labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/await-logic kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants