You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/vnet-custom.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,17 @@ As you create an Azure Container Apps [environment](environment.md), a virtual n
25
25
26
26
:::image type="content" source="media/networking/azure-container-apps-virtual-network.png" alt-text="Azure Container Apps environments use an existing VNET, or you can provide your own.":::
27
27
28
+
## Restrictions
29
+
30
+
Subnet address ranges can't overlap with the following reserved ranges:
31
+
32
+
- 169.254.0.0/16
33
+
- 172.30.0.0/16
34
+
- 172.31.0.0/16
35
+
- 192.0.2.0/24
36
+
37
+
Additionally, subnets must have a size between /21 and /12.
38
+
28
39
## Subnet types
29
40
30
41
As a Container Apps environment is created, you provide resource IDs for two different subnets. Both subnets must be defined in the same container apps.
@@ -242,6 +253,9 @@ az containerapp env create `
242
253
243
254
---
244
255
256
+
> [!NOTE]
257
+
> As you call `az conatinerapp create` to create the container app inside your environment, make sure the value for the `--image` parameter is in lower case.
258
+
245
259
The following table describes the parameters used in for `containerapp env create`.
246
260
247
261
| Parameter | Description |
@@ -351,7 +365,9 @@ az network private-dns record-set a add-record `
351
365
352
366
#### Networking parameters
353
367
354
-
There are three optional networking parameters you can choose to define when calling `containerapp env create`. You must either provide values for all three of these properties, or none of them. If they aren’t provided, the CLI generates the values for you.
368
+
There are three optional networking parameters you can choose to define when calling `containerapp env create`. Use these options when you have a peered VNET with separate address ranges. Explicitly configuring these ranges ensures the addresses used by the Container Apps environment doesn't conflict with other ranges in the network infrastructure.
369
+
370
+
You must either provide values for all three of these properties, or none of them. If they aren’t provided, the CLI generates the values for you.
355
371
356
372
| Parameter | Description |
357
373
|---|---|
@@ -389,17 +405,6 @@ az group delete `
389
405
390
406
::: zone-end
391
407
392
-
## Restrictions
393
-
394
-
Subnet address ranges can't overlap with the following reserved ranges:
395
-
396
-
- 169.254.0.0/16
397
-
- 172.30.0.0/16
398
-
- 172.31.0.0/16
399
-
- 192.0.2.0/24
400
-
401
-
Additionally, subnets must have a size between /21 and /12.
402
-
403
408
## Additional resources
404
409
405
410
- Refer to [What is Azure Private Endpoint](/azure/private-link/private-endpoint-overview) for more details on configuring your private endpoint.
0 commit comments