Skip to content

Commit eaa52cf

Browse files
ztewykchenopis
authored andcommitted
hitting the ClusterIP from a pod (kubernetes#2826)
* hitting the `ClusterIP` from a pod when client pod and server pod in the same node,client_address is the client pod ip address when client pod and server pod in different node,client_address is the client pod's node flannel ip address * Update source-ip.md * Update source-ip.md
1 parent 12307b9 commit eaa52cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorials/services/source-ip.md

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ client_address=10.244.3.8
106106
command=GET
107107
...
108108
```
109+
If the client pod and server pod are in the same node, the client_address is the client pod's IP address. However, if the client pod and server pod are in different nodes, the client_address is the client pod's node flannel IP address.
109110

110111
## Source IP for Services with Type=NodePort
111112

0 commit comments

Comments
 (0)