hitting the ClusterIP from a pod (#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
This commit is contained in:
ztewyk
2017-03-23 15:00:59 +08:00
committed by Andrew Chen
parent 12307b9501
commit eaa52cf2fc
+1
View File
@@ -106,6 +106,7 @@ client_address=10.244.3.8
command=GET
...
```
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.
## Source IP for Services with Type=NodePort