Skip to content

Commit

Permalink
added example for simple check of correct ingress-controller configur…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
saidst committed Dec 17, 2019
1 parent 48ed325 commit 493935c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/tutorials/azure-private-dns.md
Expand Up @@ -22,7 +22,7 @@ Helm is used to deploy the ingress controller.
We employ the popular chart [stable/nginx-ingress](https://github.com/helm/charts/tree/master/stable/nginx-ingress).

```
helm install stable/nginx-ingress \
$ helm install stable/nginx-ingress \
--name nginx-ingress \
--set controller.publishService.enabled=true
```
Expand All @@ -33,6 +33,18 @@ It will make the ingress controller update the endpoint records of ingress-resou
This is crucial as ExternalDNS reads those endpoints records when creating DNS-Records from ingress-resources.
In the subsequent parameter we will make use of this. If you don't want to work with ingress-resources in your later use, you can leave the parameter out.

Verify the correct propagation of the loadbalancer's ip by listing the ingresses.
```
$ kubectl get ingress
```
The address column should contain the ip for each ingress. ExternalDNS will pick up exactly this piece of information.
```
NAME HOSTS ADDRESS PORTS AGE
nginx1 sample1.aksdemos.com 52.167.189.120 80 6d22h
nginx2 sample2.aksdemos.com 52.167.189.120 80 6d21h
```


If you do not want to deploy the ingress controller with Helm, ensure to pass the following cmdline-flags to it through the mechanism of your choice:

```
Expand Down

0 comments on commit 493935c

Please sign in to comment.