Skip to content

Commit 1653324

Browse files
committed
Corrected per PR comments.
1 parent ef41e27 commit 1653324

7 files changed

+85
-83
lines changed

articles/extended-zones/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
href: request-quota-increase.md
3232
- name: Arc-enabled PaaS workloads in Extended Zones
3333
items:
34+
- name: Create Arc-Enabled AKS Clusters in Extended Zones
35+
href: arc-enabled-workloads-arc-enabled-aks-cluster.md
3436
- name: ContainerApps
3537
href: arc-enabled-workloads-container-apps.md
3638
- name: PostgreSQL

articles/extended-zones/arc-enabled-workloads-arc-enabled-aks-cluster.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Create an Arc-enabled AKS cluster in an Extended Zone"
3-
description: Learn how to creat an arc-enabled AKS cluster in an Extended Zone.
3+
description: Learn how to creat an Arc-enabled AKS cluster in an Extended Zone.
44
author: svaldes
55
ms.author: svaldes
66
ms.service: azure-extended-zones
@@ -23,11 +23,11 @@ In this article, you'll learn how to create an Arc-enabled AKS cluster in an Ext
2323

2424
## Getting Started
2525
If you're already familiar with the subject, you may skip this paragraph. Here are important topics you may want read before you proceed with creation:
26-
[Requirements and limitations](/azure/container-apps/azure-arc-overview) of the public preview. Of particular importance are the cluster requirements.
27-
[Overview of Azure Arc-enabled data services](/azure/azure-arc/data/overview)
28-
[Connectivity modes and requirements](/azure/azure-arc/data/connectivity)
29-
[Storage configuration and Kubernetes storage concepts](/azure/azure-arc/data/storage-configuration)
30-
[Kubernetes resource model](https://github.com/kubernetes/design-proposals-archive/blob/main/scheduling/resources.md#resource-quantities)
26+
- [Requirements and limitations](/azure/container-apps/azure-arc-overview) of the public preview. Of particular importance are the cluster requirements.
27+
- [Overview of Azure Arc-enabled data services](/azure/azure-arc/data/overview)
28+
- [Connectivity modes and requirements](/azure/azure-arc/data/connectivity)
29+
- [Storage configuration and Kubernetes storage concepts](/azure/azure-arc/data/storage-configuration)
30+
- [Kubernetes resource model](https://github.com/kubernetes/design-proposals-archive/blob/main/scheduling/resources.md#resource-quantities)
3131

3232
### Setup
3333
Install the following Azure CLI extensions.
@@ -53,7 +53,7 @@ Before proceeding to deploy PaaS workloads in Extended Zones, an Arc-enabled AKS
5353
> Make sure to keep parameters consistent and transfer them correctly from this script to any following ones.
5454
5555
```powershell
56-
# Create an ARC-enabled AKS cluster on an edge zone
56+
# Create an Arc-enabled AKS cluster on an edge zone
5757
function createArcEnabledAksOnEz {
5858
param(
5959
[string] $SubscriptionId,
@@ -63,7 +63,7 @@ function createArcEnabledAksOnEz {
6363
[string] $edgeZone,
6464
[int] $nodeCount = 2,
6565
[string] $vmSize = "standard_nv12ads_a10_v5",
66-
[string] $ARCResourceGroupName,
66+
[string] $ArcResourceGroupName,
6767
[switch] $Debug
6868
)
6969
# Set the subscription
@@ -79,20 +79,20 @@ function createArcEnabledAksOnEz {
7979
Write-Output "Creating AKS cluster in edge zone..."
8080
az aks create -g $AKSClusterResourceGroupName -n $AKSName --location $location --edge-zone $edgeZone --node-count $nodeCount -s $vmSize --generate-ssh-keys
8181
82-
# Create new resource group for ARC
83-
az group create --name $ARCResourceGroupName --location eastus
82+
# Create new resource group for Arc
83+
az group create --name $ArcResourceGroupName --location eastus
8484
8585
# Download cluster credentials and get AKS cluster context
8686
az aks get-credentials --resource-group $AKSClusterResourceGroupName --name $AKSName --overwrite-existing
8787
88-
# Connect the AKS cluster to ARC
89-
$CLUSTER_NAME = "$ARCResourceGroupName-cluster" # Name of the connected cluster resource
88+
# Connect the AKS cluster to Arc
89+
$CLUSTER_NAME = "$ArcResourceGroupName-cluster" # Name of the connected cluster resource
9090
Write-Output "Connecting AKS cluster to Azure Arc..."
91-
az connectedk8s connect --resource-group $ARCResourceGroupName --name $CLUSTER_NAME
91+
az connectedk8s connect --resource-group $ArcResourceGroupName --name $CLUSTER_NAME
9292
93-
# DEBUG: Test connection to ARC
93+
# DEBUG: Test connection to Arc
9494
if ($Debug) {
95-
Write-Debug az connectedk8s show --resource-group $ARCResourceGroupName --name $CLUSTER_NAME
95+
Write-Debug az connectedk8s show --resource-group $ArcResourceGroupName --name $CLUSTER_NAME
9696
}
9797
}
9898
@@ -104,7 +104,7 @@ createArcEnabledAksOnEz -SubscriptionId "ffc37441-49e9-4291-a520-0b2d4972bb99" `
104104
-edgeZone "losangeles" `
105105
-nodeCount 2 `
106106
-vmSize "standard_nv12ads_a10_v5" `
107-
-ARCResourceGroupName "t2"
107+
-ArcResourceGroupName "t2"
108108
```
109109

110110

@@ -122,9 +122,9 @@ Feel free to reach out to [[email protected]](mailto:aez-support@microso
122122

123123
## Related content
124124

125-
- [Deploy arc-enabled workloads in an Extended Zone: ContainerApps](/azure/extended-zones/arc-enabled-workloads-container-apps)
126-
- [Deploy arc-enabled workloads in an Extended Zone: PostgreSQL](/azure/extended-zones/arc-enabled-workloads-postgre-sql)
127-
- [Deploy arc-enabled workloads in an Extended Zone: ManagedSQL](/azure/extended-zones/arc-enabled-workloads-managed-sql)
125+
- [Deploy Arc-enabled workloads in an Extended Zone: ContainerApps](/azure/extended-zones/arc-enabled-workloads-container-apps)
126+
- [Deploy Arc-enabled workloads in an Extended Zone: PostgreSQL](/azure/extended-zones/arc-enabled-workloads-postgre-sql)
127+
- [Deploy Arc-enabled workloads in an Extended Zone: ManagedSQL](/azure/extended-zones/arc-enabled-workloads-managed-sql)
128128
- [Deploy an AKS cluster in an Extended Zone](deploy-aks-cluster.md)
129129
- [Deploy a storage account in an Extended Zone](create-storage-account.md)
130130
- [Frequently asked questions](faq.md)

articles/extended-zones/arc-enabled-workloads-container-apps.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Deploy arc-enabled workloads in an Extended Zone: ContainerApps"
2+
title: "Deploy Arc-enabled workloads in an Extended Zone: ContainerApps"
33
description: Learn how to deploy arc-enabled ContainerApps in an Extended Zone.
44
author: svaldes
55
ms.author: svaldes
@@ -10,9 +10,9 @@ ms.date: 05/02/2025
1010
# Customer intent: As a cloud administrator and Azure Extended Zones user, I want a quick method to deploy PaaS services via Arc in an Azure Extended Zone.
1111
---
1212

13-
# Deploy arc-enabled workloads in an Extended Zone: ContainerApps
13+
# Deploy Arc-enabled workloads in an Extended Zone: ContainerApps
1414

15-
In this article, you'll learn how to deploy an arc-enabled ContainerApp in an Extended Zone. Refer to [What is Azure Extended Zones? | Services](/azure/extended-zones/overview#services) for currently supported PaaS workloads.
15+
In this article, you'll learn how to deploy an Arc-enabled ContainerApp in an Extended Zone. Refer to [What is Azure Extended Zones? | Services](/azure/extended-zones/overview#services) for currently supported PaaS workloads.
1616
Feel free to explore [Container Apps on Azure Arc Overview | Microsoft Learn](/azure/container-apps/azure-arc-overview) to become more familiar with Container Apps on Azure Arc.
1717

1818
## Prerequisites
@@ -52,7 +52,7 @@ function CreateContainerAppOnArcEnabledAksEz {
5252
[string] $edgeZone,
5353
[int] $nodeCount = 2,
5454
[string] $vmSize = "standard_nv12ads_a10_v5",
55-
[string] $ARCResourceGroupName,
55+
[string] $ArcResourceGroupName,
5656
[string] $CONNECTED_ENVIRONMENT_NAME,
5757
[string] $CUSTOM_LOCATION_NAME,
5858
[string] $SubscriptionId,
@@ -65,15 +65,15 @@ function CreateContainerAppOnArcEnabledAksEz {
6565
# Set the subscription
6666
az account set --subscription $SubscriptionId
6767
68-
# Create the ARC-enabled EZ AKS cluster
69-
createArcEnabledAksOnEz -SubscriptionId $SubscriptionId -AKSClusterResourceGroupName $AKSClusterResourceGroupName -location $location -AKSName $AKSName -edgeZone $edgeZone -nodeCount $nodeCount -vmSize $vmSize -ARCResourceGroupName $ARCResourceGroupName -Debug:$Debug
68+
# Create the Arc-enabled EZ AKS cluster
69+
createArcEnabledAksOnEz -SubscriptionId $SubscriptionId -AKSClusterResourceGroupName $AKSClusterResourceGroupName -location $location -AKSName $AKSName -edgeZone $edgeZone -nodeCount $nodeCount -vmSize $vmSize -ArcResourceGroupName $ArcResourceGroupName -Debug:$Debug
7070
7171
# Install container apps extension
72-
$CLUSTER_NAME = "$ARCResourceGroupName-cluster" # Name of the connected cluster resource
72+
$CLUSTER_NAME = "$ArcResourceGroupName-cluster" # Name of the connected cluster resource
7373
$EXTENSION_NAME="appenv-ext"
7474
$NAMESPACE="app-ns"
7575
az k8s-extension create `
76-
--resource-group $ARCResourceGroupName `
76+
--resource-group $ArcResourceGroupName `
7777
--name $EXTENSION_NAME `
7878
--cluster-type connectedClusters `
7979
--cluster-name $CLUSTER_NAME `
@@ -91,60 +91,60 @@ function CreateContainerAppOnArcEnabledAksEz {
9191
$EXTENSION_ID=$(az k8s-extension show `
9292
--cluster-type connectedClusters `
9393
--cluster-name $CLUSTER_NAME `
94-
--resource-group $ARCResourceGroupName `
94+
--resource-group $ArcResourceGroupName `
9595
--name $EXTENSION_NAME `
9696
--query id `
9797
--output tsv)
9898
9999
# Wait for extension to fully install before proceeding
100100
az resource wait --ids $EXTENSION_ID --custom "properties.provisioningState!='Pending'" --api-version "2020-07-01-preview"
101101
102-
$CONNECTED_CLUSTER_ID=$(az connectedk8s show --resource-group $ARCResourceGroupName --name $CLUSTER_NAME --query id --output tsv)
102+
$CONNECTED_CLUSTER_ID=$(az connectedk8s show --resource-group $ArcResourceGroupName --name $CLUSTER_NAME --query id --output tsv)
103103
az customlocation create `
104-
--resource-group $ARCResourceGroupName `
104+
--resource-group $ArcResourceGroupName `
105105
--name $CUSTOM_LOCATION_NAME `
106106
--host-resource-id $CONNECTED_CLUSTER_ID `
107107
--namespace $NAMESPACE `
108108
--cluster-extension-ids $EXTENSION_ID
109109
110110
# DEBUG: Test custom location creation
111111
if ($Debug) {
112-
Write-Debug az customlocation show --resource-group $ARCResourceGroupName --name $CUSTOM_LOCATION_NAME
112+
Write-Debug az customlocation show --resource-group $ArcResourceGroupName --name $CUSTOM_LOCATION_NAME
113113
}
114114
115115
# Save id property of the custom location for later
116116
$CUSTOM_LOCATION_ID=$(az customlocation show `
117-
--resource-group $ARCResourceGroupName `
117+
--resource-group $ArcResourceGroupName `
118118
--name $CUSTOM_LOCATION_NAME `
119119
--query id `
120120
--output tsv)
121121
122122
# Create container Apps connected environment
123123
az containerapp connected-env create `
124-
--resource-group $ARCResourceGroupName `
124+
--resource-group $ArcResourceGroupName `
125125
--name $CONNECTED_ENVIRONMENT_NAME `
126126
--custom-location $CUSTOM_LOCATION_ID `
127127
--location eastus
128128
129129
# DEBUG: validate that the connected environment is successfully created
130130
if ($Debug) {
131-
Write-Debug az containerapp connected-env show --resource-group $ARCResourceGroupName --name $CONNECTED_ENVIRONMENT_NAME
131+
Write-Debug az containerapp connected-env show --resource-group $ArcResourceGroupName --name $CONNECTED_ENVIRONMENT_NAME
132132
}
133133
134134
# Create a new resource group for the container app
135135
$myResourceGroup="${imageName}-resource-group"
136136
az group create --name $myResourceGroup --location eastus
137137
138138
# Get the custom location id
139-
$customLocationId=$(az customlocation show --resource-group $ARCResourceGroupName --name $CUSTOM_LOCATION_NAME --query id --output tsv)
139+
$customLocationId=$(az customlocation show --resource-group $ArcResourceGroupName --name $CUSTOM_LOCATION_NAME --query id --output tsv)
140140
141141
# Get info about the connected environment
142142
$myContainerApp="${imageName}-container-app"
143143
$myConnectedEnvironment=$(az containerapp connected-env list --custom-location $customLocationId -o tsv --query '[].id')
144144
145145
# create acr and group
146-
az group create --name $ARCResourceGroupName --location eastus
147-
az acr create --resource-group $ARCResourceGroupName --name $ACRName --sku Basic
146+
az group create --name $ArcResourceGroupName --location eastus
147+
az acr create --resource-group $ArcResourceGroupName --name $ACRName --sku Basic
148148
149149
# Wait for the ACR to be created
150150
Start-Sleep -Seconds 10
@@ -199,7 +199,7 @@ CreateContainerAppOnArcEnabledAksEz -AKSClusterResourceGroupName "my-aks-cluster
199199
-edgeZone "losangeles" `
200200
-nodeCount 2 `
201201
-vmSize "standard_nv12ads_a10_v5" `
202-
-ARCResourceGroupName "myARCResourceGroup" `
202+
-ArcResourceGroupName "myArcResourceGroup" `
203203
-CONNECTED_ENVIRONMENT_NAME "myConnectedEnvironment" `
204204
-CUSTOM_LOCATION_NAME "myCustomLocation" `
205205
-SubscriptionId "<your subscription>"`
@@ -223,8 +223,8 @@ Feel free to reach out to [[email protected]](mailto:aez-support@microso
223223
## Related content
224224

225225
- [Create an Arc-enabled AKS cluster in an Extended Zone](/azure/extended-zones/arc-enabled-workloads-arc-enabled-aks-cluster)
226-
- [Deploy arc-enabled workloads in an Extended Zone: PostgreSQL](/azure/extended-zones/arc-enabled-workloads-postgre-sql)
227-
- [Deploy arc-enabled workloads in an Extended Zone: ManagedSQL](/azure/extended-zones/arc-enabled-workloads-managed-sql)
226+
- [Deploy Arc-enabled workloads in an Extended Zone: PostgreSQL](/azure/extended-zones/arc-enabled-workloads-postgre-sql)
227+
- [Deploy Arc-enabled workloads in an Extended Zone: ManagedSQL](/azure/extended-zones/arc-enabled-workloads-managed-sql)
228228
- [Deploy an AKS cluster in an Extended Zone](deploy-aks-cluster.md)
229229
- [Deploy a storage account in an Extended Zone](create-storage-account.md)
230230
- [Frequently asked questions](faq.md)

0 commit comments

Comments
 (0)