Repository navigation
Conversation
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
cc @markdroth @adisuissa since I've been chatting to you about this |
b35e941 to
014538f
Compare
adisuissa
left a comment
There was a problem hiding this comment.
High-level comment: as this is an xDS-TP based subscription, it will probably make sense to start moving in a direction that supports the xDS-TP config-sources. WDYT?
|
@adisuissa not sure exactly what you mean, I may be out of context. Do you mean the xdstp |
6ea4da2 to
b3a2962
Compare
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
bdcc960 to
5db50ad
Compare
Signed-off-by: sschepens <[email protected]>
f61c9ae to
422775d
Compare
wbpcode
left a comment
There was a problem hiding this comment.
LGTM overall now. Only one comments. Thanks for proceeding this works and your patience. 🙇
/wait
|
/wait wait from PR author to address the comments from wbpcode |
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
da20d88 to
4ee4e4f
Compare
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
6777415 to
0d62c97
Compare
|
/retest |
| sendDeltaDiscoveryResponse<envoy::config::route::v3::VirtualHost>( | ||
| Config::TestTypeUrl::get().VirtualHost, {buildVirtualHost()}, {}, "1", vhds_stream_.get()); | ||
| EXPECT_TRUE(compareDeltaDiscoveryRequest(Config::TestTypeUrl::get().VirtualHost, {}, {}, | ||
| vhds_stream_.get())); |
There was a problem hiding this comment.
Is this necessary? Seems we call the sendDeltaVhdsResponse, then call the sendDeltaDiscoveryResponse?
There was a problem hiding this comment.
good catch, this was indeed a duplicate call, removed it.
|
/wait |
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
|
@wbpcode friendly maintainer-on-call ping |
wbpcode
left a comment
There was a problem hiding this comment.
Please add the change log for this new feature. And also mark the API as [(xds.annotations.v3.field_status).work_in_progress = true] for now so we can revert it if you finally find cannot convince the control plane to support that.
And I guess these is another problem that there is no good way to resolve: the removal of the resource. The xdstp based resource removal based on the full xdstp's resource name, but the Envoy manage the resource based on the VirtuhalHost.name().
/wait
Signed-off-by: sschepens <[email protected]>
Signed-off-by: sschepens <[email protected]>
|
@wbpcode marked API as WIP and added a changelog. Regarding I'm more inclined to go with #3, with disabled RDS+VHDS merging when using |
|
For 3, it's hard to change except we could strictly ensure no one will be affected. We cannot accept to penalize usual VHDS for xdstp based VHDS. But it's a problem we cannot discuss in the future. At same time, we will try to see could we add the explicit subscription to existing VHDS, to avoid dependency to the xdstp. |
Submitting this for initial review.
Adds support for specifying an initial xdstp collection in VHDS (
default_virtual_host_resource_locator), to allow subscribing to an initial resource set, this enables VHDS usage without the need for on-demand. When this field is set, on-demand VHDS updates are disabled and non-matching requests on this RouteConfiguration will just return 404.Additional Description:
Risk Level: medium
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]