kubectl-debug
kubectl-debug copied to clipboard
阿里云k8s 报错
> kubectl debug image-XXX --agentless=false
> error execute remote, error sending request: Post http://XXXX/api/v1/debug?command=%5B%22bash%22%5D&container=docker%3A%2F%2Fead772b991c55ead39787cb589847c75a9555e0ce190b12032cc0cc289addf93&image=nicolaka%2Fnetshoot%3Alatest: unexpected EOF
这个是防火墙的问题吗?
> kubectl apply -f https://raw.githubusercontent.com/aylei/kubectl-debug/master/scripts/agent_daemonset.yml
创建pod失败,看日志
standard_init_linux.go:207: exec user process caused "no such file or directory"
看起来是这个 pod 的镜像问题
看起来是这个 pod 的镜像问题
是我要debug pod 的镜像问题吗?看说明没有什么特别配置
看起来是这个 pod 的镜像问题
是我要debug pod 的镜像问题吗?看说明没有什么特别配置
是的,日志上显示文件不存在。
看起来是这个 pod 的镜像问题
是我要debug pod 的镜像问题吗?看说明没有什么特别配置
换一个镜像版本,aylei/debug-agent:latest 试试?