Kind
Middlewaretcp
Group
traefik.io
Version
v1alpha1
apiVersion: traefik.io/v1alpha1 kind: Middlewaretcp metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object required
spec object required
MiddlewareTCPSpec defines the desired state of a MiddlewareTCP.
inFlightConn object
InFlightConn defines the InFlightConn middleware configuration.
amount integer
Amount defines the maximum amount of allowed simultaneous connections. The middleware closes the connection if there are already amount connections opened.
format: int64
minimum: 0
ipAllowList object
IPAllowList defines the IPAllowList middleware configuration. This middleware accepts/refuses connections based on the client IP. More info: https://doc.traefik.io/traefik/v3.6/reference/routing-configuration/tcp/middlewares/ipallowlist/
sourceRange []string
SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).
ipWhiteList object
IPWhiteList defines the IPWhiteList middleware configuration. This middleware accepts/refuses connections based on the client IP. More info: https://doc.traefik.io/traefik/v3.6/reference/routing-configuration/tcp/middlewares/ipwhitelist/ Deprecated: please use IPAllowList instead.
sourceRange []string
SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).
Copied!