Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to permanently set Azure idle timeout for AKS cluster?

I have an AKS cluster with a Nginx ingress controller. This ingress controller creates a Loadbalancer, and I would like to increase the idle timeout.

I can set it easily enough, but after a few minutes the value is returned to 4 minutes. Is there an annotation or some other setting that allows me to save the new timeout value permanently?

enter image description here

like image 669
Phyxx Avatar asked Nov 20 '25 23:11

Phyxx


1 Answers

I ended up finding the annotation service.beta.kubernetes.io/azure-load-balancer-tcp-idle-timeout from the source code at https://gowalker.org/k8s.io/kubernetes/pkg/cloudprovider/providers/azure. This isn't documented anywhere on the Azure site, but there are a bunch of annotations that might be useful in certain situations.

like image 87
Phyxx Avatar answered Nov 22 '25 15:11

Phyxx