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

iptables operation add timeout and retry exponentially #3092

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

phuhung273
Copy link

What type of PR is this?

  • improvement

Which issue does this PR fix?:

#2945

What does this PR do / Why do we need it?:

  • iptables operation wait forever without any informative output

Testing done on this change:

Will this PR introduce any new dependencies?:

Yes. retry util library: github.com/cenkalti/backoff/v4

Will this break upgrades or downgrades? Has updating a running cluster been tested?:
No

Does this change require updates to the CNI daemonset config files to work?:

No

Does this PR introduce any user-facing change?:

No

iptables operation add timeout and retry exponentially

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phuhung273 phuhung273 requested a review from a team as a code owner October 26, 2024 09:46
@phuhung273 phuhung273 marked this pull request as draft October 26, 2024 09:47
@phuhung273
Copy link
Author

@yash97 may I ask for your help on how to unit test this implementation

@phuhung273
Copy link
Author

@yash97 I found out how to test. But the PR is quite big now, understand you dont prefer that

@phuhung273 phuhung273 marked this pull request as ready for review October 27, 2024 02:51
@phuhung273 phuhung273 changed the title [WIP] iptables operation add timeout and retry exponentially iptables operation add timeout and retry exponentially Oct 27, 2024
@phuhung273
Copy link
Author

@yash97 want to know your thought on this PR

@orsenthil
Copy link
Member

@phuhung273 - I will review the PR and let you know.

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.

2 participants