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-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,19 @@ 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
-
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.
35
+
You can also enable HTTP routing on an existing AKS cluster using the [az aks enable-addons][az-aks-enable-addons] command. To enable HTTP routing on an existing cluster, add the `--addons` parameter and specify *http_application_routing* as shown in the following example:
36
36
37
37
```azurecli
38
-
$ az aks show --resource-group myAKSCluster --name myAKSCluster --query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table
38
+
az aks enable-addons --resource-group myResourceGroup --name myAKSCluster --addons http_application_routing
39
+
```
40
+
41
+
After the cluster is deployed or updated, 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.
42
+
43
+
```azurecli
44
+
$ 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
158
153
159
```azurecli
154
-
az aks disable-addons --addons http_application_routing --name myAKSCluster --resource-group myAKSCluster --no-wait
160
+
az aks disable-addons --addons http_application_routing --name myAKSCluster --resource-group myResourceGroup --no-wait
155
161
```
156
162
157
163
## Troubleshoot
@@ -228,6 +234,7 @@ For information on how to install an HTTPS-secured Ingress controller in AKS, se
0 commit comments