From 062397649ec22cad9f13d4c183a6c7067aff44f2 Mon Sep 17 00:00:00 2001 From: Adrian Joian Date: Fri, 4 Sep 2020 11:28:57 +0200 Subject: [PATCH] AKS example of adding an internal loadbalancer This is a simple example of adding an Azure internal loadbalancer when creating the ingress controller. --- charts/ingress-nginx/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/charts/ingress-nginx/README.md b/charts/ingress-nginx/README.md index ebaf66221..162420828 100644 --- a/charts/ingress-nginx/README.md +++ b/charts/ingress-nginx/README.md @@ -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