How to edit AWS Load balancer from Kubernetes service

Hello!

I am using Traefik ingress controller on Kubernetes EKS (AWS), and it creates a Service type Loadbalancer. I wanted to increase the Connection idle timeout set on the load balancer.

How to change Connection idle timeout for the AWS load balancer from Traefik from the helm charts values, or from annotations, or potentially IngressRoute CRs?

The default is 60 seconds, and we need at least 120 seconds.

Traefik helm chart we are using: GitHub - traefik/traefik-helm-chart: Traefik Proxy Helm Chart

I could

I noticed there is this settings allowing to add annotations in the helm chart:

but from this documentation: Annotations - AWS Load Balancer Controller I don't see a way of editing it there.

I am basically looking for a way to configure any Traffic configuration on the LB.

  • Connection idle timeout (the one I want to tweak)
  • Packet handling - Desync mitigation mode (Defensive, etc)
  • Enable connection draining
  • Timeout (draining interval)
  • ...

(From https://eu-central-1.console.aws.amazon.com/ec2/home?region=eu-central-1#LoadBalancerEditAttributes:loadBalancerArn=)

I guess if there is a way to change any of this from the service, it should be easy to find how to change Connection idle timeout

I found some examples here:

Adding the following annotation in service.annotations (values.yaml) is the key :slight_smile:

service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '60'

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.