Skip to content

Commit 10253b3

Browse files
committed
MINOR: kubernetes-ingress: Document AKS/Azure LB caveats (#205)
Signed-off-by: Dinko Korunic <[email protected]>
1 parent f43982d commit 10253b3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

kubernetes-ingress/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,16 @@ helm install keda kedacore/keda --namespace keda
246246
helm install mytest haproxytech/kubernetes-ingress -f mykeda.yaml
247247
```
248248

249+
## Installing on Azure Managed Kubernetes Service (AKS)
250+
251+
By default Azure LB sends probe to `/` and expects HTTP status codes of 200-399 to consider Pod healthy, which means probes end up on default HTTP backend returning HTTP 404 status code. Since v1.20 AKS service annotation `service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path` can be used to override health probe behaviour and we recommend using the following annotation on AKS to target `/healthz` endpoint for health probes:
252+
253+
```console
254+
helm install ...
255+
--set controller.service.type=LoadBalancer \
256+
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz
257+
```
258+
249259
## Upgrading the chart
250260

251261
To upgrade the _my-release_ deployment:

0 commit comments

Comments
 (0)