envoyproxy/envoy

filter chain match extensibility

Open

#18.685 aperta il 19 ott 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/listenerarea/metadatahelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor