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

Defining an outer metadata struct as part of the extproc endpoint picking protocol #377

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

ahg-g
Copy link
Contributor

@ahg-g ahg-g commented Feb 20, 2025

Fixes #298

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 20, 2025
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 20, 2025
Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit a423d6d
🔍 Latest deploy log https://app.netlify.com/sites/gateway-api-inference-extension/deploys/67b7b13f9a13f500083ccde2
😎 Deploy Preview https://deploy-preview-377--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ahg-g
Copy link
Contributor Author

ahg-g commented Feb 20, 2025

@k8s-ci-robot
Copy link
Contributor

@ahg-g: GitHub didn't allow me to assign the following users: AndresGuedez.

Note that only kubernetes-sigs members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @AndresGuedez @robscott @kfswain @LiorLieberman

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

cmd/epp/main.go Outdated
"Header key used by Envoy to route to the appropriate pod. This must match Envoy configuration.")
"Header and response metadata key used by Envoy to route to the appropriate pod. This must match Envoy configuration.")
targetEndpointOuterMetadataKey = flag.String(
"TargetEndpointOuterMetadataKey",
Copy link
Member

Choose a reason for hiding this comment

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

It represents the receiving namespace of envoy, i think the name is a little confusing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

one suggestion from @LiorLieberman is to use destinationEndpointHintMetadataNamesapce as the key name, and change the targetEndpointKey to destinationEndpointHintKey to match with that.

Update the protocol doc based on the suggested edits

Co-authored-by: Lior Lieberman <[email protected]>
"x-gateway-destination-endpoint": <ip:port>"
}
}

Copy link
Member

@LiorLieberman LiorLieberman Feb 20, 2025

Choose a reason for hiding this comment

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

I think I missed "```" here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 21, 2025
Copy link

@AndresGuedez AndresGuedez left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, AndresGuedez

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@LiorLieberman
Copy link
Member

/lgtm

@ahg-g
Copy link
Contributor Author

ahg-g commented Feb 21, 2025

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 21, 2025
@k8s-ci-robot k8s-ci-robot merged commit 2913da4 into kubernetes-sigs:main Feb 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contract between Envoy Extproc and EPP is incorrect.
7 participants