Closed adleong closed 2 years ago
We have documentation on how to debug half-closed connections in the proxy container here: https://linkerd.io/2.12/tasks/debugging-502s/
However, these docs point to a script: https://gist.github.com/adleong/0203b0864af2c29ddb821dd48f339f49 which no longer works because the proxy container no longer contains the cat utility.
cat
Run this script https://gist.github.com/adleong/0203b0864af2c29ddb821dd48f339f49
> ./lost-sock.sh error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "41b5b9c774b133221d7958ea33773bc06a1f2e4fe6d0eda7d4fc948b077a06fc": OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "cat": executable file not found in $PATH: unknown
linkerd check -o short
Status check results are √
Linkerd stable 2.12.0
Update the documentation to describe how to debug this using the debug container.
No response
The script has been updated to use the debug container as an ephemeral container (using the kubectl debug command).
kubectl debug
What is the issue?
We have documentation on how to debug half-closed connections in the proxy container here: https://linkerd.io/2.12/tasks/debugging-502s/
However, these docs point to a script: https://gist.github.com/adleong/0203b0864af2c29ddb821dd48f339f49 which no longer works because the proxy container no longer contains the
cat
utility.How can it be reproduced?
Run this script https://gist.github.com/adleong/0203b0864af2c29ddb821dd48f339f49
Logs, error output, etc
output of
linkerd check -o short
Environment
Linkerd stable 2.12.0
Possible solution
Update the documentation to describe how to debug this using the debug container.
Additional context
No response
Would you like to work on fixing this bug?
No response