Envoy gateway¶
Installation¶
Configuration¶
Features¶
SecurityPolicies¶
- Warning: If a
SecurityPolicycontains aHTTPRoutetargetRefwhich doesn't exist, the policy is stillacceptedbut will not apply without warning. - How to combine IP Allowlist and Basic Authentication?
- "Envoy Gateway delegates auth to Envoy filters: Basic Auth and IP allowlisting (via RBAC) are separate. You can get an AND by applying both (e.g., a SecurityPolicy that includes Basic Auth plus IP-based authorization). A true OR (“allow if IP is allowed OR creds are valid”) isn’t supported today without custom ext_authz logic."
- Bypass http basic auth for some ip addresses
proxyProtocol¶
- Envoy issue: Support downstream and upstream Proxy Protocol
- GEP-1911: Backend Protocol Selection
- gateway-api FR: Support Proxy Protocol
- Upstream: Use Service appProtocol
- Downstream: Docs: Client Traffic Policy: Enable Proxy Protocol for downstream client
Troubleshooting¶
Open admin console in Browser (not so useful):
Show status of all envoy resources:
Show Envoy proxy structured access logs:
500/503 direct_response¶
When setting up httpRoutes some return
- Restarting the pod helped in some situations
404 / no route match for URL '/'¶
... ?