Skip to main content

TCP - InFlightConn

To proactively prevent Services from being overwhelmed with high load, the number of allowed simultaneous connections by IP can be limited.

Coniguration Example

apiVersion: traefik.io/v1alpha1
kind: MiddlewareTCP
metadata:
name: test-inflightconn
spec:
inFlightConn:
amount: 10

Configuration Options

FieldDescriptionDefaultRequired
amountThe amount option defines the maximum amount of allowed simultaneous connections.
The middleware closes the connection if there are already amount connections opened.
""Yes

`