-
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
Add load_assignment field in Cluster #3504
Conversation
Signed-off-by: Dhi Aurrahman <[email protected]>
// Setting this overrides :ref:`hosts<envoy_api_field_Cluster.hosts>` values. | ||
// | ||
// [#not-implemented-hide:] | ||
ClusterLoadAssignment load_assignment = 33; |
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.
I think the discussion at https://github.com/envoyproxy/envoy/pull/3261/files#r188243657 still applies.
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.
@zuercher thanks, will update it.
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.
Updated in 0001298.
Signed-off-by: Dhi Aurrahman <[email protected]>
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. I added #3553 to track the other part of the comments re: custom resolvers.
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, small comment nit.
api/envoy/api/v2/cds.proto
Outdated
// | ||
// Setting this allows CDS static/DNS assignments to contain embedded EDS equivalent | ||
// :ref:`endpoint assignments<envoy_api_msg_ClusterLoadAssignment>`. | ||
// Setting this overrides :ref:`hosts<envoy_api_field_Cluster.hosts>` values. |
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.
@dio can you make a note to deprecate the hosts field and add to deprecated.md when you do the PR implementing this?
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.
Sure, 2ab4f13. Thanks for reminding me.
api/envoy/api/v2/cds.proto
Outdated
// | ||
// .. attention:: | ||
// | ||
// Setting this allows CDS static/DNS assignments to contain embedded EDS equivalent |
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.
"CDS static/DNS" is a bit confusing to read. Can you rephrase? Do you mean "Setting this allows non-EDS cluster types to contain..." ?
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.
Updated f5783e9
Signed-off-by: Dhi Aurrahman <[email protected]>
Signed-off-by: Dhi Aurrahman <[email protected]>
Add
load_assignment
field in ClusterThis patch introduces
load_assigment
field in CDS' Cluster. This is an API change only.This is part of effort on breaking #3261 into multiple PRs.
Risk Level:
Testing:
Docs Changes:
Signed-off-by: Dhi Aurrahman [email protected]