Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to preserve Source IP for LoadBalancer Service OKE

edited Jul 17, 2019 11:01PM in Containers, Kubernetes, & Serverless Functions 10 comments

Summary

Unable to preserve source IP for a Kubernetes service exposed as type 'LoadBalancer'

Content

I have deployed a backed service and nginx ingress controller as a Load Balancer service as documented in https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengsettingupingresscontroller.htm 

I would like to know if there is any way we can preserve source IP on the backed Pod. i.e I expect to see that the source IP of my external client when the request reaches the backend pod via the loadbalancer and nginx ingress controller.

Any help is greatly appreciated !

Version

12.7

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!