You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
Service and Ingress FAQs
How do I fix the problem of not retaining source IP addresses in Ingress pods?
Copy page
Download PDF
How do I fix the problem of not retaining source IP addresses in Ingress pods?
Issue description​
The source IP address (real client IP address) cannot be retained in the Ingress pod. The displayed IP address is that of the node, an IP address in the 100.xxx.xxx.xxx segment, or another address.​
Solution​
  • Check whether the Nginx Ingress Controller has enabled the setting to retain the source IP address. If not, you can add enable-real-ip: "true" in the Nginx Ingress Controller configuration file to enable this setting.​
  • Confirm whether the Nginx Ingress Controller is fronted by an upstream load balancer and whether the X-Forwarded-For request header is configured.​
​
Last updated: 2026.07.23 14:31:45