AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Azure network plugin: pod can't access itself via its service IP

Open jim-minter opened this issue 8 years ago • 7 comments

With the azure network plugin, a pod listening on a TCP port (say 8080), and a service fronting that pod:

  1. The pod CAN connect back to itself via localhost:8080
  2. The pod CAN connect back to itself via <pod-ip>:8080
  3. 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.

jim-minter avatar Jul 02 '18 19:07 jim-minter

@khenidak @ritazh fyi - this prevents us from using the azure network plugin.

jim-minter avatar Jul 02 '18 19:07 jim-minter

@pweil- @kargakis @mjudeikis fyi

jim-minter avatar Jul 02 '18 19:07 jim-minter

https://github.com/Azure/azure-container-networking/issues/91 and https://github.com/Azure/azure-container-networking/issues/167 look pretty similar to this.

jim-minter avatar Jul 02 '18 19:07 jim-minter

@sharmasushant @jackfrancis FYI

khenidak avatar Jul 02 '18 20:07 khenidak

ack! we will look.

sharmasushant avatar Jul 02 '18 23:07 sharmasushant

Change to address this got merged: https://github.com/Azure/azure-container-networking/pull/248

sharmasushant avatar Oct 03 '18 05:10 sharmasushant

closing as stale.

jnoller avatar Apr 03 '19 21:04 jnoller