Viewing Source IP using "X-Forwarded-For" headers from API server when using Load Balancer

Solution In Progress - Updated -

Issue

  • Audit Logs show the load balancer (that sits in front of the master nodes) as SourceIP for all events, however, we would like to see the actual Client IP. This is typically done using X-Forwarded-For headers.

  • The sourceIP doc says that it should include IPs from X-Forwarded-For headers in the array, last one being the actual source.

Environment

  • Red Hat OpenShift 4.x

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