Reputation: 55
I am new to the Envoy proxy. I am trying to understand the filters basic config for "http_connection_manager"
I have this code :
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: auto
stat_prefix: ingress_http
I need help in understanding what is the meeting of :
name: envoy.filters.network.http_connection_manager --- ( I think it is an inbuild HTTP filter of some kind)
"@type":type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager --- (I have no idea, what is this )
I tried to understand it from official docs and also read some medium posts, some youtube videos, but still, I have not able to decode the meaning of these lines.
If somebody has an answer, I will be grateful. even any resource, post or video link, or any kind of info is also appreciated, please share those if possible. thanks
Upvotes: 2
Views: 4370
Reputation: 1080
name
field indicates the common name of the extension you want to turn on. They typically have enough information in the name to give you a little bit of a handle on what they do and where in the toolchain they are.
envoy
means this is packaged straight with envoy. Not a 3rd party extensionfilters
means this is a filter extension. Envoy does also support other types of extensions, though filters is probably the most common.network
means this is a network filter. This operates at the TCP level. You'll also commonly see http
here for filters that operate on HTTP requests.http_connection_manager
the specific filter. This is the HTTP connection manager, which does basically what it says: handles all the HTTP connections. Without this you don't get HTTP route handling, header manipulation, virtual hosts, etc. full featurestype
is indicating the exact spec of the protobuf config that will be sent to the filter to initialize it and trigger behavior. It's a bit opaque, just know that each filter has a v2 and a v3 set of configuration options available. For any given filter, the envoy docs do link to their typed config. E.g. the kafka broker page and the direct proto definitionUpvotes: 4