Enabling X-Forwarded-For or Proxy Protocol with a Service Mesh to Preserve and Log Source IPs
Issue
- How to preserve the source IP in application logs when using a service mesh?
- How to configuring headers like
X-Forwarded-Foror enablingProxy Protocolensures the original source IP is retained and logged correctly?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Service Mesh (OSSM)
- 2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.