Repository navigation
Adding docs/release notes for listener filter. - #21646
Conversation
Signed-off-by: Yanjun Xiang <[email protected]>
|
This PR is to add release documents for listener ECDS as a follow up commits for #21133. Originally, we thought we can add this release notes within the UDP listener ECDS implementation: #21606. However #21606 may need some time to materialize. Thus sending out this PR first. We can update the release notes in #21606 later once it is in good shape. |
|
/assign @adisuissa @soulxu @mattklein123 |
Signed-off-by: Yanjun Xiang <[email protected]>
Signed-off-by: Yanjun Xiang <[email protected]>
|
|
||
| For Listener filters, the discovery service configuration is: :ref:`dynamic listener filter | ||
| re-configuration<envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery>`. | ||
| Note, the dynamic listener filter config is only supported in TCP listeners. |
There was a problem hiding this comment.
Do we plan to release the TCP first? then support UDP in the future. If yes, what happened if I set the ECDS for the UDP, do we have an explicit error message to tell the user the UDP doesn't support the ECDS yet? I thought it will be better to not silently ignore ECDS for UDP and an explicit message for the user.
There was a problem hiding this comment.
Yeah, that's what I am thinking. The UDP listener filter ECDS work may need take a while. Let's make the TCP listener ECDS work self-complete.
Just added a check and a RELEASE_ASSERT to crash Envoy for UDP listeners with ECDS listener filter configured.
There was a problem hiding this comment.
emm... I prefer to raise normal exception, not a crash, but we can see other's opinion
There was a problem hiding this comment.
Exception in the config-path digestion code makes sense, as Envoy will reject any config that is incorrect.
| :header: Name, Type, Description | ||
| :widths: 1, 1, 2 | ||
|
|
||
| extension_config_missing, Counter, Total connections closed due to missing listener filter extension configuration |
There was a problem hiding this comment.
It will be better to describe that if the config is missing, the connection will be rejected until the valid config was updated in the above.
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Yanjun Xiang <[email protected]>
|
|
||
| if (proto_config.config_type_case() == | ||
| envoy::config::listener::v3::ListenerFilter::ConfigTypeCase::kConfigDiscovery) { | ||
| RELEASE_ASSERT(false, "For UDP listener, the dynamic listener filter configuration " |
There was a problem hiding this comment.
Not sure we should use RELEASE_ASSERT, I would prefer raise a exception here.
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: Yanjun Xiang <[email protected]>
|
Thanks! This is LGTM |
adisuissa
left a comment
There was a problem hiding this comment.
Thanks for adding this!
Left a couple of minor comments.
| Discovery service | ||
| ^^^^^^^^^^^^^^^^^ | ||
|
|
||
| HTTP Filters |
There was a problem hiding this comment.
Might consider underlying with " (see https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html#headings)
There was a problem hiding this comment.
After reordering the texts, I think it's better to just remove "HTTP filters" and "Listener Filters" because those are already in the starting text in that paragraph.
| for HTTP filters. | ||
|
|
||
| Extension config discovery service has a :ref:`statistics | ||
| HTTP filter Extension config discovery service has a :ref:`statistics |
There was a problem hiding this comment.
| HTTP filter Extension config discovery service has a :ref:`statistics | |
| HTTP filter extension config discovery service has a :ref:`statistics |
|
|
||
| HTTP Filters | ||
|
|
||
| Extension configuration can be supplied dynamically from an :ref:`xDS |
There was a problem hiding this comment.
This part should be before the "HTTP Filters" sub-section, as it is generic to all discovery services.
There was a problem hiding this comment.
Yes, good catch!
|
|
||
| For Listener filters, the discovery service configuration is: :ref:`dynamic listener filter | ||
| re-configuration<envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery>`. | ||
| Note, the dynamic listener filter config is only supported in TCP listeners. |
There was a problem hiding this comment.
Exception in the config-path digestion code makes sense, as Envoy will reject any config that is incorrect.
Signed-off-by: Yanjun Xiang <[email protected]>
| The dynamic listener filter config is only supported in TCP listeners. | ||
| If the dynamic config is missing, the connection will be rejected until a valid config is updated. | ||
|
|
||
| Listener filter Extension config discovery service has a :ref:`statistics |
There was a problem hiding this comment.
nit:
| Listener filter Extension config discovery service has a :ref:`statistics | |
| Listener filter extension config discovery service has a :ref:`statistics |
| for HTTP filters. | ||
|
|
||
| Extension config discovery service has a :ref:`statistics | ||
| For HTTP filters, HTTP connection manager supports :ref:`dynamic filter |
There was a problem hiding this comment.
Why was the subsection heading removed?
Signed-off-by: Yanjun Xiang <[email protected]>
Signed-off-by: Yanjun Xiang <[email protected]> Signed-off-by: Amila Senadheera <[email protected]>
Adding docs/release notes for listener filter for issue: #20049.
This is a follow up commit for #21133.
Signed-off-by: Yanjun Xiang [email protected]
Commit Message:
Additional Description:
Risk Level:
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:]