Skip to content

Commit 9cdd758

Browse files
committed
Freshness pass updates
1 parent dfb978d commit 9cdd758

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

articles/aks/ingress-tls.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ DNS_LABEL="<DNS_LABEL>"
127127
NAMESPACE="ingress-basic"
128128
STATIC_IP=<STATIC_IP>
129129
130-
helm upgrade nginx-ingress ingress-nginx/ingress-nginx \
130+
helm upgrade ingress-nginx ingress-nginx/ingress-nginx \
131131
--namespace $NAMESPACE \
132132
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=$DNS_LABEL \
133133
--set controller.service.loadBalancerIP=$STATIC_IP
@@ -162,7 +162,7 @@ $DnsLabel = "<DNS_LABEL>"
162162
$Namespace = "ingress-basic"
163163
$StaticIP = "<STATIC_IP>"
164164
165-
helm upgrade nginx-ingress ingress-nginx/ingress-nginx `
165+
helm upgrade ingress-nginx ingress-nginx/ingress-nginx `
166166
--namespace $Namespace `
167167
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=$DnsLabel `
168168
--set controller.service.loadBalancerIP=$StaticIP
@@ -172,17 +172,17 @@ helm upgrade nginx-ingress ingress-nginx/ingress-nginx `
172172

173173
For more information, see [Use a static public IP address and DNS label with the AKS load balancer][aks-static-ip].
174174

175-
## Use a dynamic IP address
175+
#### Use a dynamic public IP address
176176

177-
An Azure public IP address is created for the ingress controller upon creation. This public IP address is static for the lifespan of the ingress controller. If you delete the ingress controller, the public IP address assignment will be lost. If you create another ingress controller, a new public IP address will be assigned.
177+
An Azure public IP address is created for your ingress controller upon creation. The public IP address is static for the lifespan of your ingress controller. The public IP address does *not* remain if you delete your ingress controller. If you create a new ingress controller, it will be assigned a new public IP address.
178178

179-
To get the public IP address, use the `kubectl get service` command.
179+
Use the `kubectl get service` command to get the public IP address for your ingress controller.
180180

181181
```console
182182
kubectl --namespace ingress-basic get services -o wide -w nginx-ingress-ingress-nginx-controller
183183
```
184184

185-
The example output shows the details about the ingress controller.
185+
Your output should look similar to the following example output:
186186

187187
```console
188188
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
@@ -191,7 +191,7 @@ nginx-ingress-ingress-nginx-controller LoadBalancer 10.0.74.133 EXTERNAL_I
191191

192192
### Add an A record to your DNS zone
193193

194-
If you're using a custom domain, you need to add an *A* record to your DNS zone. Otherwise, you need to configure the public IP address with an FQDN.
194+
If you're using a custom domain, you need to add an *A* record to your DNS zone. If you're not using a custom domain, you can configure the public IP address with an FQDN.
195195

196196
### [Azure CLI](#tab/azure-cli)
197197

@@ -222,14 +222,18 @@ New-AzDnsRecordSet -Name "*" `
222222

223223
---
224224

225-
### Configure an FQDN for the ingress controller
225+
### Configure an FQDN for your ingress controller
226226

227-
Optionally, you can configure an FQDN for the ingress controller IP address instead of a custom domain. Your FQDN should follow this form: `<CUSTOM LABEL>.<AZURE REGION NAME>.cloudapp.azure.com`. You can configure it using one of the following methods:
227+
Optionally, you can configure an FQDN for the ingress controller IP address instead of a custom domain by setting a DNS label. Your FQDN should follow this form: `<CUSTOM LABEL>.<AZURE REGION NAME>.cloudapp.azure.com`. Your DNS label must be unique within its Azure location.
228228

229-
* Set the DNS label using the Azure CLI or Azure PowerShell.
229+
You can configure your FQDN using one of the following methods:
230+
231+
* Set the DNS label using Azure CLI or Azure PowerShell.
230232
* Set the DNS label using Helm chart settings.
231233

232-
#### Method 1: Set the DNS label using the Azure CLI or Azure PowerShell
234+
For more information, see [Public IP address DNS name labels](../virtual-network/ip-services/public-ip-addresses.md#dns-name-label).
235+
236+
#### Set the DNS label using Azure CLI or Azure PowerShell
233237

234238
### [Azure CLI](#tab/azure-cli)
235239

@@ -269,30 +273,30 @@ Write-Output $UpdatedPublicIp.DnsSettings.Fqdn
269273

270274
---
271275

272-
#### Method 2: Set the DNS label using Helm chart settings
276+
#### Set the DNS label using Helm chart settings
273277

274-
You can pass an annotation setting to your Helm chart configuration by using the `--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"` parameter. This parameter can be set when the ingress controller is first deployed, or it can be configured later.
278+
You can pass an annotation setting to your Helm chart configuration using the `--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"` parameter. This parameter can be set when the ingress controller is first deployed, or it can be configured later.
275279

276280
The following example shows how to update this setting after the controller has been deployed.
277281

278282
### [Azure CLI](#tab/azure-cli)
279283

280284
```bash
281-
DNS_LABEL="demo-aks-ingress"
285+
DNS_LABEL="<DNS_LABEL>"
282286
NAMESPACE="ingress-basic"
283287

284-
helm upgrade nginx-ingress ingress-nginx/ingress-nginx \
288+
helm upgrade ingress-nginx ingress-nginx/ingress-nginx \
285289
--namespace $NAMESPACE \
286290
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=$DNS_LABEL
287291
```
288292

289293
### [Azure PowerShell](#tab/azure-powershell)
290294

291295
```azurepowershell
292-
$DnsLabel = "demo-aks-ingress"
296+
$DnsLabel = "<DNS_LABEL>"
293297
$Namespace = "ingress-basic"
294298
295-
helm upgrade nginx-ingress ingress-nginx/ingress-nginx `
299+
helm upgrade ingress-nginx ingress-nginx/ingress-nginx `
296300
--namespace $Namespace `
297301
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=$DnsLabel
298302
```

0 commit comments

Comments
 (0)