Skip to content

Commit bffbd5b

Browse files
committed
[AKS] Fixes MicrosoftDocs/azure-docs#10399
1 parent afefcae commit bffbd5b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/aks/http-application-routing.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,20 @@ The add-on deploys two components: a [Kubernetes Ingress controller][ingress] an
2929
The HTTP application routing add-on can be enabled with the Azure CLI when deploying an AKS cluster. To do so, use the [az aks create][az-aks-create] command with the `--enable-addons` argument.
3030

3131
```azurecli
32-
az aks create --resource-group myAKSCluster --name myAKSCluster --enable-addons http_application_routing
32+
az aks create --resource-group myResourceGroup --name myAKSCluster --enable-addons http_application_routing
3333
```
3434

35+
> [!NOTE]
36+
> You can enable HTTP routing on an existing AKS cluster using the [az aks enable-addons][az-aks-enable-addons] command. Add the `--enable-addons` parameter and specify *http_application_routing* as shown in the following example:
37+
>
38+
> ```azurecli
39+
> az aks enable-addons --resource-group myResourceGroup --name myAKSCluster --enable-addons http_application_routing
40+
> ```
41+
3542
After the cluster is deployed, use the [az aks show][az-aks-show] command to retrieve the DNS zone name. This name is needed to deploy applications to the AKS cluster.
3643
3744
```azurecli
38-
$ az aks show --resource-group myAKSCluster --name myAKSCluster --query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table
45+
$ az aks show --resource-group myResourceGroup --name myAKSCluster --query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table
3946
4047
Result
4148
-----------------------------------------------------
@@ -151,7 +158,7 @@ $ curl party-clippy.471756a6-e744-4aa0-aa01-89c4d162a7a7.canadaeast.aksapp.io
151158
The HTTP routing solution can be removed using the Azure CLI. To do so run the following command, substituting your AKS cluster and resource group name.
152159

153160
```azurecli
154-
az aks disable-addons --addons http_application_routing --name myAKSCluster --resource-group myAKSCluster --no-wait
161+
az aks disable-addons --addons http_application_routing --name myAKSCluster --resource-group myResourceGroup --no-wait
155162
```
156163

157164
## Troubleshoot
@@ -228,6 +235,7 @@ For information on how to install an HTTPS-secured Ingress controller in AKS, se
228235
[az-aks-create]: /cli/azure/aks?view=azure-cli-latest#az-aks-create
229236
[az-aks-show]: /cli/azure/aks?view=azure-cli-latest#az-aks-show
230237
[ingress-https]: ./ingress.md
238+
[az-aks-enable-addons]: /cli/azure/aks#az-aks-enable-addons
231239

232240

233241
<!-- LINKS - external -->

0 commit comments

Comments
 (0)