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

Received Response
14
Views
8
Comments
edited Jul 17, 2019 11:01PM in Containers and Kubernetes 8 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!