-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP service need to recieve source ip #7022
Comments
can you show the related state with kubectl commands like ;
|
try using |
@longwuyuan @coryallegory Please find below details:
|
---Not working :( |
Even after actually typing the commands that will show information on this, you don't care to help provide enough information to understand the problem. So expect delay in solving the problem or even maybe no solution. If you want to help, then read the commands suggested and provide some data that can be analyzed. Setting the "externalTrafficPolicy" to "Local" is the normal solution but you are also saying that is not working but not providing any other information for someone to analyze. So try to help with info and hopefully this will be solved. |
@jp250595 Actually I suggest close this issue and chat in kubernetes.slack.com for more activity on this |
@jp250595 did you find solution for that issue? I have the same one I thing
|
Hi,
We have exposed tcp service using config map and passed the argument for the config map in the argument section of the deployment. All seems to be working and we are able to hit the backend tcp service.
Only issues is that when traffic is received at the backend pod, the source ip is of the nginx ingress controller pod instead of client machines which are iniating the connections.
Can we preserve the client IP address for the TCP services?
The text was updated successfully, but these errors were encountered: