Timeout

    Example

    1. type: Timeout
    2. mesh: default
    3. name: timeouts-backend
    4. sources:
    5. kuma.io/service: '*'
    6. - match:
    7. kuma.io/service: 'backend'
    8. conf:
    9. # connectTimeout defines time to establish connection, 'connect_timeout' on Cluster, default 10s
    10. connectTimeout: 10s
    11. tcp:
    12. # 'idle_timeout' on TCPProxy, disabled by default
    13. # 'timeout' on Route, disabled by default
    14. requestTimeout: 5s
    15. # 'idle_timeout' on Cluster, disabled by default
    16. idleTimeout: 1h
    17. grpc:
    18. # 'stream_idle_timeout' on HttpConnectionManager, disabled by default
    19. streamIdleTimeout: 5m
    20. # 'max_stream_duration' on Cluster, disabled by default