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
Copy file name to clipboardExpand all lines: articles/aks/http-application-routing.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,20 @@ The add-on deploys two components: a [Kubernetes Ingress controller][ingress] an
29
29
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.
30
30
31
31
```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
33
33
```
34
34
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
+
35
42
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.
36
43
37
44
```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
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.
152
159
153
160
```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
155
162
```
156
163
157
164
## Troubleshoot
@@ -228,6 +235,7 @@ For information on how to install an HTTPS-secured Ingress controller in AKS, se
0 commit comments