public-cloud-roadmap icon indicating copy to clipboard operation
public-cloud-roadmap copied to clipboard

Configuraable TimeOut (TTL) on LBaaS

Open mhurtrel opened this issue 2 years ago • 1 comments

As a user of load balancer I want to be able to configure the TTL on load balancer So that request that require more than the current standard TLL (180 seconds) are handled if I want so

mhurtrel avatar Mar 29 '22 13:03 mhurtrel

We expect at least to be able to set 30/60 min for idle timeout.

e.g IMAP RFC : https://datatracker.ietf.org/doc/html/rfc3501#section-5.4

It could be also interesting to enable/disable TCP RESET on LB

cc @chibenwa

tanandy avatar Mar 29 '22 14:03 tanandy

Can we expect this to be released asap ? I agree with the ability to set at least 60min

Does LBaaS concern also Kubernetes LB ? I urgently need this with MKS Loadbalancers.

matmicro avatar Oct 11 '22 12:10 matmicro

Hi @matmicro We will not develop the feature on the current implementation of MKS loadbalancer, but this will be supported as we will move to Octavia, early 2023 https://docs.openstack.org/octavia/ussuri/configuration/configref.html

mhurtrel avatar Oct 11 '22 12:10 mhurtrel

Ok so this means that the Octavia LB will be the default one created from Kubernetes. So as a MKS user it will be transparent for me comparing to the current solution ? I mean that i am currently using a LB on MKS, in Q1 2023 it will be migrated to Octavia LB automatically (keeping same IP address ?), and my current K8s config files will automatically update the octavia LB ?

So the flavor (S, M, L) will also be available from Kubernetes YAML config file after migration. Am I right ?

matmicro avatar Oct 11 '22 13:10 matmicro

@matmicro I confirm Octavia will be the default LB for new and existing clusters (potentially at different points in time). We have not yet the exact details about the migration for existing cluster, but we will detail this as soon as possible.

I confirm the multiple octavia sizes/flavors will be available and supported through a LB ressource parameter.

mhurtrel avatar Oct 11 '22 13:10 mhurtrel

@all,

About TTL configuration, I confirm it will be possible to set custom TTL while creating Listeners.

--timeout-member-connect <timeout>
Backend member connection timeout in milliseconds. Default: 5000.
--timeout-member-data <timeout>
Backend member inactivity timeout in milliseconds. Default: 50000.

And

--timeout-member-data <timeout>
Backend member inactivity timeout in milliseconds. Default: 50000.

JacquesMrz avatar Dec 13 '22 08:12 JacquesMrz

Hi all i'm currently having real issues to deploy a LoadBalancer service on ovh managed kubernetes.

Warning  SyncLoadBalancerFailed  103s               service-controller  Error syncing load balancer: failed to ensure load balancer: error waiting for load balancer to be active: load balancer creation for "xxx-redacted-xxxxxx-xxx" timed out
Normal   EnsuringLoadBalancer    98s (x2 over 11m)  service-controller  Ensuring load balancer

All loadbalancer instances in the OVH frontend stay in status ACTIVATING, external ip status of the respective service stays <pending>. It seems this behaviour could be related to this issue, as it looks like the managed loadbalancer doesn't get successfully created before the Request times out.

clemensgg avatar Mar 12 '23 12:03 clemensgg

Hi @clemensgg I invite you to open a support case, so that our team quickly look at your situation (this githib repo is focus on new feature priorization)

mhurtrel avatar Mar 12 '23 19:03 mhurtrel

This feature is built in the Public Cloud LoadBalancer so I propose to close this issue.

yomovh avatar Jun 29 '23 14:06 yomovh

@yomovh Could you please let me know from YAML how to change this values ? Is it an annotation ? Can you provide documentation on how to do it ?

Thanks

matmicro avatar Jun 29 '23 15:06 matmicro

This will be implemented in #104 so wait for the beta to have those information ;-)

yomovh avatar Jun 29 '23 15:06 yomovh