envoyproxy/envoy

filter chain match extensibility

Open

#18.685 aberto em 19 de out. de 2021

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)C++ (5.373 forks)batch import
area/listenerarea/metadatahelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

Description

Filter chain matching algorithm is fairly rigid and has some flaws (e.g. the fixed ordering requires duplication of chains causing complexity in xDS code). It is also not extensible since it forces the use of real stream properties (like destination IP).

The proposal is to add a match condition based on dynamic metadata. We also propose to make metadata match first priority before destination port match so that it can be added incrementally. If a listener chooses to use metadata matching, that would take effect by overriding existing matching.

Guia do colaborador