From 4e217dd52079ab18a6d422459a638afd172f434b Mon Sep 17 00:00:00 2001 From: Daman Arora Date: Fri, 27 Oct 2023 00:08:22 +0530 Subject: [PATCH] pkg/proxy: configure tcp-be-liberal Signed-off-by: Daman Arora Kubernetes-commit: 9ae77364e959da869c59ba5e3149808264ec03be --- config/v1alpha1/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 133689e..690f2cc 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -93,6 +93,10 @@ type KubeProxyConntrackConfiguration struct { // in CLOSE_WAIT state will remain in the conntrack // table. (e.g. '60s'). Must be greater than 0 to set. TCPCloseWaitTimeout *metav1.Duration `json:"tcpCloseWaitTimeout"` + // tcpBeLiberal, if true, kube-proxy will configure conntrack + // to run in liberal mode for TCP connections and packets with + // out-of-window sequence numbers won't be marked INVALID. + TCPBeLiberal bool `json:"tcpBeLiberal"` // udpTimeout is how long an idle UDP conntrack entry in // UNREPLIED state will remain in the conntrack table // (e.g. '30s'). Must be greater than 0 to set.