Open gnatecheng opened 4 years ago
在 debug-agent-pod 中有可能读写目标 pod 的文件吗?如 配置文件 或 日志文件。 另外在 debug 过程中如何 exec debug-agent-pod ? 试过,sh, /bin/sh, /usr/bin/sh 都报类似的错误提示: OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown
目标pod的文件在 /proc/1/root 下面
在 debug-agent-pod 中有可能读写目标 pod 的文件吗?如 配置文件 或 日志文件。 另外在 debug 过程中如何 exec debug-agent-pod ? 试过,sh, /bin/sh, /usr/bin/sh 都报类似的错误提示: OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown