Azure network plugin: pod can't access itself via its service IP
With the azure network plugin, a pod listening on a TCP port (say 8080), and a service fronting that pod:
- The pod CAN connect back to itself via localhost:8080
- The pod CAN connect back to itself via <pod-ip>:8080
- The pod CAN NOT connect back to itself via <service-ip>:8080
Point 3 is a problem: this should be possible.
Other notes:
The node itself, as well as other pods in the system CAN connect correctly to <service-ip>:8080. Point 3 works correctly with the kubenet network plugin, it is the azure network plugin that is at fault.
@khenidak @ritazh fyi - this prevents us from using the azure network plugin.
@pweil- @kargakis @mjudeikis fyi
https://github.com/Azure/azure-container-networking/issues/91 and https://github.com/Azure/azure-container-networking/issues/167 look pretty similar to this.
@sharmasushant @jackfrancis FYI
ack! we will look.
Change to address this got merged: https://github.com/Azure/azure-container-networking/pull/248
closing as stale.