From 66a9757440a1bc785a26b8b985f7719e1c62ba56 Mon Sep 17 00:00:00 2001 From: S-mishina Date: Wed, 15 May 2024 18:24:59 +0900 Subject: [PATCH] Support for trafficPolicy.connectionPool.tcp Signed-off-by: S-mishina --- artifacts/flagger/crd.yaml | 39 +++++++++++++++++++++++++++++++++ charts/flagger/crds/crd.yaml | 39 +++++++++++++++++++++++++++++++++ kustomize/base/flagger/crd.yaml | 39 +++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+) diff --git a/artifacts/flagger/crd.yaml b/artifacts/flagger/crd.yaml index 3a124a4d9..de59d66e9 100644 --- a/artifacts/flagger/crd.yaml +++ b/artifacts/flagger/crd.yaml @@ -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 diff --git a/charts/flagger/crds/crd.yaml b/charts/flagger/crds/crd.yaml index 3a124a4d9..de59d66e9 100644 --- a/charts/flagger/crds/crd.yaml +++ b/charts/flagger/crds/crd.yaml @@ -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 diff --git a/kustomize/base/flagger/crd.yaml b/kustomize/base/flagger/crd.yaml index 3a124a4d9..de59d66e9 100644 --- a/kustomize/base/flagger/crd.yaml +++ b/kustomize/base/flagger/crd.yaml @@ -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