Skip to content

Updates Infra IR to Support Multiple Envoy Services#389

Closed
danehans wants to merge 1 commit intoenvoyproxy:mainfrom
danehans:multi_svc
Closed

Updates Infra IR to Support Multiple Envoy Services#389
danehans wants to merge 1 commit intoenvoyproxy:mainfrom
danehans:multi_svc

Conversation

@danehans
Copy link
Contributor

Currently, EG creates a single Kube Service regardless of the number of Gateways. This causes issues with running conformance tests since the base manifests create three Gateways that cannot be collapsed into one. This PR updates the Infra IR to support managing multiple Kube Services by mapping a Gateway to Infra IR Listener and mapping a Gateway listener to Infra IR ListenerPort.

Partially fixes:
#349
#380
#382

Signed-off-by: danehans daneyonhansen@gmail.com

@danehans danehans requested a review from a team as a code owner September 14, 2022 21:10
@danehans danehans added area/ir Issues related to Gateway's internal representation, e.g. data model. area/translator Issues related to Gateway's translation service, e.g. translating Gateway APIs into the IR. labels Sep 14, 2022
@danehans danehans added this to the 0.2.0-rc2 milestone Sep 14, 2022
Signed-off-by: danehans <daneyonhansen@gmail.com>
Name: string(listener.Name),
Protocol: proto,
ServicePort: servicePort,
ContainerPort: containerPort,
Copy link
Contributor

Choose a reason for hiding this comment

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

you'll also need to create a unique (servicePort, containerPort) tuple to ensure traffic doesnt get multiplexed in the envoy listener

@danehans danehans marked this pull request as draft September 15, 2022 16:24
@danehans
Copy link
Contributor Author

The community is deciding on the approach to supporting multiple gateways in #349. I marked this as a draft until a decision is made.

@danehans
Copy link
Contributor Author

Closing in favor of #404.

@danehans danehans closed this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ir Issues related to Gateway's internal representation, e.g. data model. area/translator Issues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants