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(gateway discovery): Add config for gateway readiness check intervals and timeouts #6434

Merged
merged 3 commits into from
Aug 22, 2024

Conversation

randmonkey
Copy link
Contributor

@randmonkey randmonkey commented Aug 21, 2024

What this PR does / why we need it:

Add flags --gateway-discovery-readiness-check-interval and --gateway-discovery-readiness-check-timeout to configure reconciliation interval and timeout of readiness checks.

Which issue this PR fixes:

fixes #6425
Special notes for your reviewer:

Naming problem: should we change ReconciliationInterval to ReconciliationPeriod to align with other ***Periods?

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@randmonkey randmonkey added this to the KIC v3.3.x milestone Aug 21, 2024
@randmonkey randmonkey requested a review from a team as a code owner August 21, 2024 08:47
@randmonkey randmonkey requested a review from pmalek August 21, 2024 09:10
internal/manager/config.go Outdated Show resolved Hide resolved
internal/manager/config_validation.go Outdated Show resolved Hide resolved
@randmonkey randmonkey requested a review from pmalek August 21, 2024 10:32
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@5b7b20c). Learn more about missing BASE report.
Report is 3 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##             main   #6434   +/-   ##
======================================
  Coverage        ?   74.2%           
======================================
  Files           ?     201           
  Lines           ?   20330           
  Branches        ?       0           
======================================
  Hits            ?   15100           
  Misses          ?    4235           
  Partials        ?     995           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pmalek
pmalek previously approved these changes Aug 21, 2024
Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

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

1 nit about adding a comment to a const. Other than that this looks good 👍

internal/clients/readiness.go Show resolved Hide resolved
@randmonkey randmonkey merged commit 6137e6f into main Aug 22, 2024
41 checks passed
@randmonkey randmonkey deleted the feat/configure_gateway_discovery_timeouts branch August 22, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add configuration of Gateway Discovery related timeouts
3 participants