Viewing Source IP using "X-Forwarded-For" headers from API server when using Load Balancer
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.