2

Can anyone show me the YAML used to add a "Azure Container App" to a VNET.

NOTE: This is an Container App not Web App or Container Instance (brand new GA).

I am updating my YAML to include the VNET, 'Az containerapp update' runs without failing, but the container is not added to the VNET.

az containerapp update --yaml scripts/containerapp/containername.yaml --name containername --resource-group development
Garry Taylor
  • 940
  • 8
  • 19
  • 1
    VNet integration/injection is not supported as of today - this will most probably come in future releases – Jul_DW Nov 22 '21 at 16:33

2 Answers2

1

Thank to @jul_DW for the comment.

I can confirm that "Container-Apps" do not currently support VNET integration :(

https://github.com/microsoft/azure-container-apps/issues/3

Garry Taylor
  • 940
  • 8
  • 19
  • VNET support is in preview now. https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-container-apps-virtual-network-integration/ba-p/3096932 – Garry Taylor Feb 14 '22 at 08:37
0

You can now bring your own VNET as describe here:

Looking at the YAML examples for container app, I dont think it is possible to specify the custom VNET in YAML as the VNET is configured at the managed environment level.

Thomas
  • 24,234
  • 6
  • 81
  • 125