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
Merge pull request #291456 from Akhilesh-microsoft/ACA/azure_arc_create_container_app
[GH286897- ACA: azure-arc-create-container-app]: Analyzed and fixed the "inconsistent naming conventions" in the article; reviewed and fixed the issues w.r.t freshness. Updated ms.date
az group create --name $myResourceGroup --location eastus
46
+
GROUP_NAME="my-container-apps-resource-group"
47
+
az group create --name $GROUP_NAME --location eastus
48
48
```
49
49
50
50
## Get custom location information
51
51
52
52
Get the following location group, name, and ID from your cluster administrator. See [Create a custom location](azure-arc-enable-cluster.md) for details.
@@ -73,11 +73,11 @@ customLocationId=$(az customlocation show \
73
73
74
74
Now that you have the custom location ID, you can query for the connected environment.
75
75
76
-
A connected environment is largely the same as a standard Container Apps environment, but network restrictions are controlled by the underlying Arc-enabled Kubernetes cluster.
76
+
A connected environment is largely the same as a standard Container Apps environment, but the underlying Arc-enabled Kubernetes cluster controls the network restrictions.
77
77
78
78
```azure-interactive
79
-
myContainerApp="my-container-app"
80
-
myConnectedEnvironment=$(az containerapp connected-env list --custom-location $customLocationId -o tsv --query '[].id')
79
+
CONTAINER_APP_NAME="my-container-app"
80
+
CONNECTED_ENVIRONMENT_ID=$(az containerapp connected-env list --custom-location $CUSTOM_LOCATION_ID -o tsv --query '[].id')
81
81
```
82
82
83
83
## Create an app
@@ -86,15 +86,15 @@ The following example creates a Node.js app.
az containerapp browse --resource-group $myResourceGroup --name $myContainerApp
97
+
az containerapp browse --resource-group $GROUP_NAME --name $CONTAINER_APP_NAME
98
98
```
99
99
100
100
## Get diagnostic logs using Log Analytics
@@ -106,7 +106,7 @@ Navigate to the [Log Analytics workspace that's configured with your Container A
106
106
107
107
Run the following sample query to show logs over the past 72 hours.
108
108
109
-
If there's an error when running a query, try again in 10-15 minutes. There may be a delay for Log Analytics to start receiving logs from your application.
109
+
If there's an error when running a query, try again in 10-15 minutes. There might be a delay for Log Analytics to start receiving logs from your application.
0 commit comments