k8s启动helm-wrapper,进入容器内部命令报错,kube_config参数path要怎么配置
kf2004 opened this issue · comments
kf2004 commented
kubectl exec -it helm-wrapper-775d679-x8dzd -c helm-wrapper -n manage -- /bin/bash 或者 /bin/sh
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown
Kumu commented
@kf2004 因为使用的是 scratch 最小基础镜像,可以使用 nsenter 进入,或者 Dockerfile 基础镜像修改成 ubuntu 或者 debian 之类的哈
kf2004 commented
centos:centos7我改成了这个也进不去