Aks multiple ingress
Jump to navigation
Jump to search
internal-ingress.yaml
controller: service: loadBalancerIP: 10.x.x.x annotations: service.beta.kubernetes.io/azure-load-balancer-internal: "true" ingressClassResource: name: nginx-test
NAMESPACE=ingress-test helm upgrade --install ingress-basic ingress-nginx/ingress-nginx \ --create-namespace \ --namespace $NAMESPACE \ --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz \ --set controller.service.externalTrafficPolicy=Local \ -f internal-ingress.yaml # --set controller.service.externalTrafficPolicy=Local disables tls passthrough and adds X-Forwarded-For # https://learn.microsoft.com/en-us/azure/aks/concepts-network#client-source-ip-preservation