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
You also have the option of deploying a private DNS for your Container Apps environment. For more information see [Create and configure an Azure Private DNS zone](waf-app-gateway.md#create-and-configure-an-azure-private-dns-zone).
23
+
You also have the option of deploying a private DNS for your Container Apps environment. For more information, see [Create and configure an Azure Private DNS zone](waf-app-gateway.md#create-and-configure-an-azure-private-dns-zone).
24
24
25
-
####Create a virtual network
25
+
## Create a virtual network
26
26
27
27
> [!NOTE]
28
28
> To use a VNet with Container Apps, the VNet must have a dedicated subnet with a CIDR range of `/27` or larger when using the default workload profiles environment, or a CIDR range of `/23` or larger when using the legacy Consumption only environment. To learn more about subnet sizing, see the [networking architecture overview](./custom-virtual-networks.md#subnet).
29
29
30
30
1. Select the **Networking** tab.
31
31
1. Select **Yes** next to *Use your own virtual network*.
32
-
1. Next to the *Virtual network* box, select the **Create new** link and enter the following value.
32
+
1. Next to the *Virtual network* box, select the **Create new** link and enter the following value:
When using the Workload profiles environment, you need to update the VNet to delegate the subnet to `Microsoft.App/environments`. Do not delegate the subnet when using the Consumption-only environment.
149
+
When using the Workload profiles environment, you need to update the VNet to delegate the subnet to `Microsoft.App/environments`. Don't delegate the subnet when using the Consumption-only environment.
150
150
151
151
# [Bash](#tab/bash)
152
152
@@ -204,7 +204,7 @@ The following table describes the parameters used with `containerapp env create`
204
204
|---|---|
205
205
|`name`| Name of the Container Apps environment. |
206
206
|`resource-group`| Name of the resource group. |
207
-
|`logs-workspace-id`| (Optional) The ID of an existing Log Analytics workspace. If omitted, a workspace is created for you. |
207
+
|`logs-workspace-id`| (Optional) The ID of an existing Log Analytics workspace. If omitted, a workspace is created for you. |
208
208
|`logs-workspace-key`| The Log Analytics client secret. Required if using an existing workspace. |
209
209
|`location`| The Azure location where the environment is to deploy. |
210
210
|`infrastructure-subnet-resource-id`| Resource ID of a subnet for infrastructure components and user application containers. |
When using the legacy Consumption-only environment, 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 don't conflict with other ranges in the network infrastructure.
352
352
353
353
> [!NOTE]
354
-
> These parameters are only applicable to the legacy Consumption-only environment type. The default workload profiles environment type does not require these parameters.
354
+
> These parameters are only applicable to the legacy Consumption-only environment type. The default workload profiles environment type doesn't require these parameters.
355
355
356
-
You must either provide values for all three of these properties, or none of them. If they aren’t provided, the values are generated for you.
356
+
You must either provide values for all three of these properties or none of them. If they aren’t provided, the values are generated for you.
357
357
358
358
# [Bash](#tab/bash)
359
359
@@ -363,7 +363,7 @@ You must either provide values for all three of these properties, or none of the
363
363
|`platform-reserved-dns-ip`| An IP address from the `platform-reserved-cidr` range that is used for the internal DNS server. The address can't be the first address in the range, or the network address. For example, if `platform-reserved-cidr` is set to `10.2.0.0/16`, then `platform-reserved-dns-ip` can't be `10.2.0.0` (the network address), or `10.2.0.1` (infrastructure reserves use of this IP). In this case, the first usable IP for the DNS would be `10.2.0.2`. |
364
364
|`docker-bridge-cidr`| The address range assigned to the Docker bridge network. This range must have a size between `/28` and `/12`. |
365
365
366
-
- The `platform-reserved-cidr` and `docker-bridge-cidr` address ranges can't conflict with each other, or with the ranges of either provided subnet. Further, make sure these ranges don't conflict with any other address range in the VNet.
366
+
- The `platform-reserved-cidr` and `docker-bridge-cidr` address ranges can't conflict with each other or with the ranges of either provided subnet. Further, make sure these ranges don't conflict with any other address range in the VNet.
367
367
368
368
- If these properties aren’t provided, the CLI autogenerates the range values based on the address range of the VNet to avoid range conflicts.
369
369
@@ -390,7 +390,7 @@ If you're not going to continue to use this application, you can delete the **my
390
390
::: zone pivot="azure-cli"
391
391
392
392
>[!CAUTION]
393
-
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this guide exist in the specified resource group, they will also be deleted.
393
+
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this guide exist in the specified resource group, they'll also be deleted.
0 commit comments