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/app-routing-dns-ssl.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Understand the advanced configuration options that are supported wi
4
4
ms.subservice: aks-networking
5
5
ms.custom: devx-track-azurecli
6
6
ms.topic: how-to
7
-
ms.date: 11/21/2023
7
+
ms.date: 12/04/2023
8
8
---
9
9
10
10
# Set up advanced Ingress configurations with the application routing add-on
@@ -106,11 +106,11 @@ az aks approuting update -g <ResourceGroupName> -n <ClusterName> --enable-kv --a
106
106
107
107
## Enable Azure DNS integration
108
108
109
-
To enable support for DNS zones, see the following prerequisites:
109
+
To enable support for DNS zones, review the following prerequisite:
110
110
111
-
* The app routing add-on can be configured to automatically create records on one or more Azure public and private DNS zones for hosts defined on Ingress resources. All global Azure DNS zones need to be in the same resource group, and all private Azure DNS zones need to be in the same resource group. If you don't have an Azure DNS zone, you can [create one][create-an-azure-dns-zone].
111
+
* The app routing add-on can be configured to automatically create records on one or more Azure public and private DNS zones for hosts defined on Ingress resources. All public Azure DNS zones need to be in the same resource group, and all private Azure DNS zones need to be in the same resource group. If you don't have an Azure DNS zone, you can [create one][create-an-azure-dns-zone].
112
112
113
-
### Create a global Azure DNS zone
113
+
### Create a public Azure DNS zone
114
114
115
115
> [!NOTE]
116
116
> If you already have an Azure DNS Zone, you can skip this step.
@@ -148,11 +148,17 @@ The application routing add-on creates an Ingress class on the cluster named *we
148
148
az keyvault certificate show --vault-name <KeyVaultName> -n <KeyVaultCertificateName> --query "id" --output tsv
149
149
```
150
150
151
+
The following example output shows the certificate URI returned from the command:
2. Copy the following YAML manifest into a new file named **ingress.yaml** and save the file to your local computer.
152
158
153
-
> [!NOTE]
154
-
> Update *`<Hostname>`* with your DNS host name and *`<KeyVaultCertificateUri>`* with the ID returned from Azure Key Vault.
155
-
> The *`secretName`* key in the `tls` section defines the name of the secret that contains the certificate for this Ingress resource. This certificate will be presented in the browser when a client browses to the URL defined in the `<Hostname>` key. Make sure that the value of `secretName` is equal to `keyvault-` followed by the value of the Ingress resource name (from `metadata.name`). In the example YAML, secretName will need to be equal to `keyvault-<your Ingress name>`.
159
+
Update *`<Hostname>`* with the name of your DNS host and *`<KeyVaultCertificateUri>`* with the URI returned from the command to query Azure Key Vault in step 1 above. The string value for `*<KeyVaultCertificateUri>*` should only include `https://yourkeyvault.vault.azure.net/certificates/certname`. The *Certificate Version* at the end of the URI string should be omitted in order to get the current version.
160
+
161
+
The *`secretName`* key in the `tls` section defines the name of the secret that contains the certificate for this Ingress resource. This certificate is presented in the browser when a client browses to the URL specified in the `<Hostname>` key. Make sure that the value of `secretName` is equal to `keyvault-` followed by the value of the Ingress resource name (from `metadata.name`). In the example YAML, `secretName` needs to be equal to `keyvault-<your Ingress name>`.
156
162
157
163
```yml
158
164
apiVersion: networking.k8s.io/v1
@@ -233,7 +239,7 @@ Learn about monitoring the Ingress-nginx controller metrics included with the ap
0 commit comments