Skip to content

Commit

Permalink
Support for trafficPolicy.connectionPool.tcp
Browse files Browse the repository at this point in the history
Signed-off-by: S-mishina <[email protected]>
  • Loading branch information
S-mishina committed May 15, 2024
1 parent 9a0c6e7 commit 66a9757
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
39 changes: 39 additions & 0 deletions artifacts/flagger/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,45 @@ spec:
maxRetries:
format: int32
type: integer
tcp:
description: TCP connection pool settings.
type: object
properties:
maxConnections:
description: The maximum number of HTTP1 /TCP connections
to a destination.
format: int32
type: integer
connectTimeout:
description: The timeout for new TCP connections
to hosts in the cluster.
type: string
tcpKeepalive:
description: TCP keepalive
type: object
properties:
time:
description: The time duration a connection needs
to be idle before TCP starts sending keepalive
probes.
type: string
interval:
description: The time duration between TCP keepalive
probes.
type: string
probes:
description: The number of unacknowledged probes
to send before considering the connection dead.
format: int32
type: integer
maxConnectionDuration:
description: The maximum duration a connection may
exist before it is closed.
type: string
idleTimeout:
description: The idle timeout for upstream connection
pool connections.
type: string
loadBalancer:
description: Settings controlling the load balancer algorithms.
type: object
Expand Down
39 changes: 39 additions & 0 deletions charts/flagger/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,45 @@ spec:
maxRetries:
format: int32
type: integer
tcp:
description: TCP connection pool settings.
type: object
properties:
maxConnections:
description: The maximum number of HTTP1 /TCP connections
to a destination.
format: int32
type: integer
connectTimeout:
description: The timeout for new TCP connections
to hosts in the cluster.
type: string
tcpKeepalive:
description: TCP keepalive
type: object
properties:
time:
description: The time duration a connection needs
to be idle before TCP starts sending keepalive
probes.
type: string
interval:
description: The time duration between TCP keepalive
probes.
type: string
probes:
description: The number of unacknowledged probes
to send before considering the connection dead.
format: int32
type: integer
maxConnectionDuration:
description: The maximum duration a connection may
exist before it is closed.
type: string
idleTimeout:
description: The idle timeout for upstream connection
pool connections.
type: string
loadBalancer:
description: Settings controlling the load balancer algorithms.
type: object
Expand Down
39 changes: 39 additions & 0 deletions kustomize/base/flagger/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,45 @@ spec:
maxRetries:
format: int32
type: integer
tcp:
description: TCP connection pool settings.
type: object
properties:
maxConnections:
description: The maximum number of HTTP1 /TCP connections
to a destination.
format: int32
type: integer
connectTimeout:
description: The timeout for new TCP connections
to hosts in the cluster.
type: string
tcpKeepalive:
description: TCP keepalive
type: object
properties:
time:
description: The time duration a connection needs
to be idle before TCP starts sending keepalive
probes.
type: string
interval:
description: The time duration between TCP keepalive
probes.
type: string
probes:
description: The number of unacknowledged probes
to send before considering the connection dead.
format: int32
type: integer
maxConnectionDuration:
description: The maximum duration a connection may
exist before it is closed.
type: string
idleTimeout:
description: The idle timeout for upstream connection
pool connections.
type: string
loadBalancer:
description: Settings controlling the load balancer algorithms.
type: object
Expand Down

0 comments on commit 66a9757

Please sign in to comment.