Aks ingress

From UVOO Tech Wiki
Revision as of 16:53, 23 October 2022 by Busk (talk | contribs) (Created page with "``` NAMESPACE=ingress-basic helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx helm repo update helm upgrade --install ingress-nginx ingress-nginx/ingres...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
NAMESPACE=ingress-basic

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update

helm upgrade --install ingress-nginx 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