Skip to content

Commit 6766c14

Browse files
[ACA-273059: azure_arc_enable_cluster: Freshness pass
1 parent 88d5395 commit 6766c14

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

articles/container-apps/azure-arc-enable-cluster.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ ms.custom:
88
- devx-track-azurecli
99
- build-2025
1010
ms.topic: tutorial
11-
ms.date: 05/19/2025
11+
ms.date: 06/25/2025
1212
ms.author: cshoe
1313
---
1414

1515
# Tutorial: Enable Azure Container Apps on Azure Arc-enabled Kubernetes
1616

1717
With [Azure Arc-enabled Kubernetes clusters](/azure/azure-arc/kubernetes/overview), you can create a [Container Apps enabled custom location](azure-arc-create-container-app.md) in your on-premises or cloud Kubernetes cluster to deploy your Azure Container Apps applications as you would any other region.
1818

19-
This tutorial will show you how to enable Azure Container Apps on your Arc-enabled Kubernetes cluster. In this tutorial you will:
19+
This tutorial shows how to enable Azure Container Apps on an Azure Arcenabled Kubernetes cluster. In this tutorial, you:
2020

2121
> [!div class="checklist"]
2222
> * Create a connected cluster.
@@ -28,6 +28,8 @@ This tutorial will show you how to enable Azure Container Apps on your Arc-enabl
2828

2929
## Prerequisites
3030

31+
Before you begin, make sure you have the following prerequisites in place:
32+
3133
- An Azure account with an active subscription.
3234
- If you don't have one, you [can create one for free](https://azure.microsoft.com/free/).
3335
- Install the [Azure CLI](/cli/azure/install-azure-cli).
@@ -103,7 +105,9 @@ $LOCATION="eastus"
103105

104106
## Create a connected cluster
105107

106-
The following steps help you get started understanding the service, but for production deployments, they should be viewed as illustrative, not prescriptive. See [Quickstart: Connect an existing Kubernetes cluster to Azure Arc](/azure/azure-arc/kubernetes/quickstart-connect-cluster) for general instructions on creating an Azure Arc-enabled Kubernetes cluster.
108+
These instructions are meant for evaluation and learning purposes. For production deployments, refer to [Quickstart: Connect an existing Kubernetes cluster to Azure Arc](/azure/azure-arc/kubernetes/quickstart-connect-cluster) for general instructions on creating an Azure Arc-enabled Kubernetes cluster.
109+
110+
To get started with service, follow these steps to create an Azure Kubernetes Service (AKS) cluster and connect it to Azure Arc:
107111

108112
1. Create a cluster in Azure Kubernetes Service.
109113

@@ -183,7 +187,7 @@ The following steps help you get started understanding the service, but for prod
183187
184188
## Create a Log Analytics workspace
185189
186-
A [Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) provides access to logs for Container Apps applications running in the Azure Arc-enabled Kubernetes cluster. A Log Analytics workspace is optional, but recommended.
190+
A [Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) provides access to logs for Container Apps applications running in the Azure Arc-enabled Kubernetes cluster. A Log Analytics workspace is optional, but recommended.
187191
188192
1. Create a Log Analytics workspace.
189193
@@ -250,9 +254,9 @@ A [Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) pr
250254
## Install the Container Apps extension
251255
252256
> [!IMPORTANT]
253-
> If deploying onto **AKS on Azure Local** ensure that you have [setup HAProxy or a custom load balancer](/azure/aks/aksarc/configure-load-balancer) before attempting to install the extension. You could also use `az containerapp arc setup-core-dns --distro AksAzureLocal` to set up coredns for local contexts.
257+
> If deploying onto **AKS on Azure Local**, ensure that you have [setup HAProxy or a custom load balancer](/azure/aks/aksarc/configure-load-balancer) before attempting to install the extension. You could also use `az containerapp arc setup-core-dns --distro AksAzureLocal` to set up core dns for local contexts.
254258
255-
1. Set the following environment variables to the desired name of the [Container Apps extension](azure-arc-create-container-app.md), the cluster namespace in which resources should be provisioned, and the name for the Azure Container Apps connected environment. Choose a unique name for `<connected-environment-name>`. The connected environment name will be part of the domain name for app you'll create in the Azure Container Apps connected environment.
259+
1. Set the following environment variables to the desired name of the [Container Apps extension](azure-arc-create-container-app.md), the cluster namespace in which resources should be provisioned, and the name for the Azure Container Apps connected environment. Choose a unique name for `<connected-environment-name>`. The connected environment name is part of the domain name for app you create in the Azure Container Apps connected environment.
256260
257261
# [Azure CLI](#tab/azure-cli)
258262
@@ -326,9 +330,9 @@ A [Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) pr
326330
327331
| Parameter | Description |
328332
|---|---|
329-
| `Microsoft.CustomLocation.ServiceAccount` | The service account created for the custom location. It's recommended that it 's set to the value `default`. |
333+
| `Microsoft.CustomLocation.ServiceAccount` | The service account created for the custom location. Set the value to `default`. |
330334
| `appsNamespace` | The namespace used to create the app definitions and revisions. It **must** match that of the extension release namespace. |
331-
| `clusterName` | The name of the Container Apps extension Kubernetes environment that will be created against this extension. |
335+
| `clusterName` | The name of the Container Apps extension Kubernetes environment created against this extension. |
332336
| `logProcessor.appLogs.destination` | Optional. Destination for application logs. Accepts `log-analytics` or `none`, choosing none disables platform logs. |
333337
| `logProcessor.appLogs.logAnalyticsConfig.customerId` | Required only when `logProcessor.appLogs.destination` is set to `log-analytics`. The base64-encoded Log analytics workspace ID. This parameter should be configured as a protected setting. |
334338
| `logProcessor.appLogs.logAnalyticsConfig.sharedKey` | Required only when `logProcessor.appLogs.destination` is set to `log-analytics`. The base64-encoded Log analytics workspace shared key. This parameter should be configured as a protected setting. |
@@ -367,7 +371,7 @@ A [Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) pr
367371
az resource wait --ids $EXTENSION_ID --custom "properties.provisioningState!='Pending'" --api-version "2020-07-01-preview"
368372
```
369373
370-
You can use `kubectl` to see the pods that have been created in your Kubernetes cluster:
374+
Use `kubectl` to view the pods running in your Kubernetes cluster:
371375
372376
```bash
373377
kubectl get pods -n $NAMESPACE
@@ -424,7 +428,7 @@ The [custom location](/azure/azure-arc/kubernetes/custom-locations) is an Azure
424428
---
425429
426430
> [!NOTE]
427-
> If you experience issues creating a custom location on your cluster, you may need to [enable the custom location feature on your cluster](/azure/azure-arc/kubernetes/custom-locations#enable-custom-locations-on-your-cluster). This is required if logged into the CLI using a Service Principal or if you are logged in with a Microsoft Entra user with restricted permissions on the cluster resource.
431+
> If you experience issues creating a custom location on your cluster, you may need to [enable the custom location feature on your cluster](/azure/azure-arc/kubernetes/custom-locations#enable-custom-locations-on-your-cluster). Enable this feature when logged into the CLI using a Service Principal or a Microsoft Entra user with restricted permissions on the cluster resource.
428432
>
429433
430434
1. Validate that the custom location is successfully created with the following command. The output should show the `provisioningState` property as `Succeeded`. If not, rerun the command after a minute.

0 commit comments

Comments
 (0)