-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
api: add node field to csds request #12522
Conversation
Signed-off-by: Yutong Li <[email protected]>
Signed-off-by: Yutong Li <[email protected]>
I don't understand why this is needed. There's already a way to match on the node ID field in the
|
As per offline discussion, it seems like what you want here is not a way to select the data that you want CSDS to return but rather a way to identify the CSDS client to the CSDS server. In that case, I suspect the right way to do it is to add a That having been said, I'm not actually all that familiar with how CSDS is used, so I'm going to defer to @htuch or one of the other API shephards to review this. |
Yes, I think this probably belongs in the Node ID or metadata. |
@markdroth @htuch Just want to make sure that what you suggested is replacing the string |
Yes, exactly. |
Yeah, it seems reasonable to re-use this structure if we consider nodes to be Envoy/gRPC clients, intermediaries such as proxies, CSDS, etc. |
Signed-off-by: Yutong Li <[email protected]>
@markdroth @htuch Thanks for the suggestion! I've modified the csds request by adding a /cc @fuqianggao |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm api
Commit Message: added an
node
field to csds request to identify the CSDS client to the CSDS server, and removed the[#not-implemented-hide:]
for theendpoint_config
since it has been implemented in #11577Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Yutong Li [email protected]
/cc @fuqianggao @alexburnos