Skip to content

ISTIO_META_IDLE_TIMEOUT apply to passthrough cluster #38413

Description

@fatedier

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)

Describe the feature request
We encountered the same issue with #24387. Idle TCP connections to redis will be closed after 1 hour. It's not expected.

I tried to set ISTIO_META_IDLE_TIMEOUT env but failed. I find it not valid for passthrough cluster.

Listeners config:

Valid for outbound istio-ingressgateway

  {
      "name": "envoy.filters.network.tcp_proxy",
      "typedConfig": {
          "@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy",
          "statPrefix": "outbound|15021||istio-ingressgateway.istio-system.svc.cluster.local",
          "cluster": "outbound|15021||istio-ingressgateway.istio-system.svc.cluster.local",
          "idleTimeout": "15s"
      }
  }

Not valid for PassthroughCluster

{
    "name": "envoy.filters.network.tcp_proxy",
    "typedConfig": {
        "@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy",
        "statPrefix": "PassthroughCluster",
        "cluster": "PassthroughCluster"
    }
}

Describe alternatives you've considered
Use custom envoyfilter.

Affected product area (please put an X in all that apply)

[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Affected features (please put an X in all that apply)

[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane

Additional context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions