Increase outbound timeout is not working #13282
Unanswered
DakshithaDias
asked this question in
Q&A
Replies: 1 comment
-
That timeout controls the TCP connection timeout, which is not an HTTP request timeout. Linkerd doesn't enforce a default HTTP request timeout. Client-side HTTP request timeouts can be configured with HTTPRoute resources, however. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to increase the global outbound request timeout to 5 seconds. I've applied this change in linkerd-config configmap and restarted all the linkerd pods and also my application pod. Linkerd proxy is auto injected to my app pod.
When i describe the application pod, env variable is correctly set to 5s.
![image](https://private-user-images.githubusercontent.com/7056078/383831645-803196c4-b9c8-4bac-adb8-25e1580d953e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDMxNTUsIm5iZiI6MTczOTMwMjg1NSwicGF0aCI6Ii83MDU2MDc4LzM4MzgzMTY0NS04MDMxOTZjNC1iOWM4LTRiYWMtYWRiOC0yNWUxNTgwZDk1M2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTk0MDU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTI4MTYzZmMzNDkzOTJmNTYyNzNhOWVjNzVjNDk4YzIzMDdkNGQ2ZGM1NDY4M2Q4NTVmODljMWJjNmIxMjkyYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.56ximoCKrUsv2iJGLvTzW7KdKkNi8BMVunVlcxQEqfo)
However, when I exec into my application pod and try to curl to a delay pod (I used https://hub.docker.com/r/deminy/delayed-http-response) it doesn't time out at 5 seconds even when I used 10s delay into my curl. Example curl - curl -v 100.65.0.143:80/sleep/10
Beta Was this translation helpful? Give feedback.
All reactions