AKS example of adding an internal loadbalancer

This is a simple example of adding an Azure internal loadbalancer when
creating the ingress controller.
This commit is contained in:
Adrian Joian 2020-09-04 11:28:57 +02:00
parent 63072b7923
commit ecbc896cbe

View file

@ -188,6 +188,17 @@ controller:
# Any other annotation can be declared here.
```
Example for Azure:
```yaml
controller:
service:
annotations:
# Create internal LB
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
# Any other annotation can be declared here.
```
An use case for this scenario is having a split-view DNS setup where the public zone CNAME records point to the external balancer URL while the private zone CNAME records point to the internal balancer URL. This way, you only need one ingress kubernetes object.
### Ingress Admission Webhooks