Container Apps with Vnet seems to download images over the Load balancer?

Terranca 0 Reputation points
2024-02-12T10:03:35.5+00:00

Hey all, I'm experimenting with using Container Apps and my setup seems fairly simple: I have a Container App using a VNET and a (public) ACR hosting the docker image. When my app spins up, I'm seeing quite big spikes (500MB in a few seconds) in the load balancer traffic (on port 0, inbound, which is weird?) being charged. I have the feeling that the image is being pulled over the load balancer ports and not internally through Service Endpoints? I have Service Endpoints set up for the VNet for both Microsoft.ContainerRegistry and Microsoft.Storage (for the region the registry is hosted) Am I missing something here?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
456 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
419 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-02-12T13:37:02.9166667+00:00

    Hello Terranca, Welcome to Microsoft Q&A,Thankyou for posting your Query here. you have set up Service Endpoints correctly for the VNet. However, it is possible that the image is being pulled over the load balancer ports instead of through Service Endpoints.

    i.To verify this, you can check the logs of your Container App to see if there are any errors related to Service Endpoints. ii. You can also check the logs of your ACR to see if there are any requests coming from the load balancer IP address. If you find that the image is being pulled over the load balancer ports, you can try the following steps to troubleshoot the issue: A. Check if the subnet of your Container App is correctly configured to use the Service Endpoints. You can do this by going to the subnet configuration of your VNet and checking if the subnet is associated with the correct Service Endpoint. B. Also check ip address of Container App is correctly configured to your service endpoints by going to ip address configuration of your container app and see whether IP is associated with correct service endpoint. C. confirm whether firewall rules of your ACR are correctly configured to allow traffic from IP address to container app by checking your firewall configuration of your Acr if ip address of your container app is allowed. Hope this helps you, please consider accepting the answer to help increase visibility of this question for other members of the Microsoft Q&A community. If not, please let us know what is still needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.