Koko
04/24/2025, 1:56 PMmirrord exec --target pod/llm-7cb6646d5b-cmz45 --agent-namespace healthtech --target-namespace healthtech echo 123
or
mirrord exec --target deployment/llm --agent-namespace myns --target-namespace myns echo 123
I get following output:
mirrord exec
✓ running on latest (3.140.0)!
⠒ preparing to launch process
✓ layer extracted
⠉ mirrord exec
✓ running on latest (3.140.0)!
⠤ preparing to launch process
✓ layer extracted
x mirrord exec
✓ running on latest (3.140.0)!
x preparing to launch process
✓ layer extracted
✓ operator not found
✓ agent pod healthtech/mirrord-agent-bquydkyrt2-bbm2q created
✓ pod is ready
Error: × Failed to communicate with the agent: timeout
I've searched everywhere but couldn't find any solution. Even in this channel there are 4 threads with same issue but still could not find any solution. Can someone help me with this?
The pod starts and is in running state for several seconds.
mirrord-agent-5q1rdfasxl-vrqvf 1/1 Running 0 5s
The only log I was able to find in the pod before it disappeared is:
agent ready - version 3.140.0Aviram Hassan
04/24/2025, 2:02 PMMIRRORD_PROGRESS_MODE=off RUST_LOG=mirrord=traceAviram Hassan
04/24/2025, 2:02 PMKoko
04/24/2025, 2:05 PM2025-04-24T14:03:16.511980Z TRACE mirrord_kube::api::kubernetes::portforwarder: port-forward to pod AgentKubernetesConnectInfo { pod_name: "mirrord-agent-tejadlq1bt-pff4m", pod_namespace: "healthtech", agent_port: 39136 }
at mirrord/kube/src/api/kubernetes/portforwarder.rs:92
2025-04-24T14:03:26.511245Z DEBUG mirrord::execution: error: Failed to communicate with the agent: timeout
at mirrord/cli/src/execution.rs:180
in mirrord::execution::start_internal
2025-04-24T14:03:26.513113Z TRACE mirrord_kube::api: No more client messages, disconnecting
at mirrord/kube/src/api.rs:42
in mirrord_kube::api::mirrord_protocol_connection_wrapper_task
in mirrord::connection::create_and_connect
in mirrord::execution::start_internalAviram Hassan
04/24/2025, 2:15 PMKoko
04/24/2025, 2:16 PMAviram Hassan
04/24/2025, 2:17 PMKoko
04/24/2025, 2:17 PMAviram Hassan
04/24/2025, 2:17 PMAviram Hassan
04/24/2025, 2:17 PMAviram Hassan
04/24/2025, 2:18 PMKoko
04/24/2025, 2:36 PMAviram Hassan
04/24/2025, 2:45 PM