Skip to content

Adds Gateway Watch to HTTPRoute Controller#403

Merged
danehans merged 1 commit intoenvoyproxy:mainfrom
danehans:issue_301_part2
Sep 28, 2022
Merged

Adds Gateway Watch to HTTPRoute Controller#403
danehans merged 1 commit intoenvoyproxy:mainfrom
danehans:issue_301_part2

Conversation

@danehans
Copy link
Contributor

@danehans danehans commented Sep 21, 2022

Adds a watch for Gateway objects to the httproute controller. Valid HTTPRoutes that reference gateways managed by EG will be enqueued for reconciliation.

Partially Fixes: #301

@danehans danehans requested a review from a team as a code owner September 21, 2022 21:11
@danehans danehans force-pushed the issue_301_part2 branch 4 times, most recently from e1786d3 to 1de17fb Compare September 23, 2022 16:05
@danehans danehans requested a review from skriss September 23, 2022 22:20
@danehans danehans added this to the 0.2.0-rc2 milestone Sep 27, 2022
@danehans
Copy link
Contributor Author

cd01a94 rebases to pull in CI conformance test coverage.

Copy link
Contributor

Choose a reason for hiding this comment

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

curious how dequeue/deregister works

skriss
skriss previously approved these changes Sep 27, 2022
Copy link
Contributor

@skriss skriss left a comment

Choose a reason for hiding this comment

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

I'm OK with this in the interest of getting a demo release out, but I definitely think we need to look at #413 sooner than later. After merging this, if we have a Gateway with 10 HTTPRoutes attached, then any time the Gateway changes, we'll end up running at least 11 full translation loops, and likely more due to other inter-related watches. This is obviously not going to be scaleable.

@danehans
Copy link
Contributor Author

Rebased to include #404.

@danehans
Copy link
Contributor Author

@skriss I added #413 to v0.3.0-rc1.

Signed-off-by: danehans <daneyonhansen@gmail.com>
skriss
skriss previously approved these changes Sep 28, 2022
@danehans danehans merged commit d48a104 into envoyproxy:main Sep 28, 2022
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.

Gateway API Controllers Should Watch Other Gateway API Resources

3 participants