Enabling X-Forwarded-For or Proxy Protocol with a Service Mesh to Preserve and Log Source IPs

Solution Verified - Updated -

Issue

  • How to preserve the source IP in application logs when using a service mesh?
  • How to configuring headers like X-Forwarded-For or enabling Proxy Protocol ensures 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content