kubectl exec -it podname bash返回如下信息,修改deployment,添加stdin和tty选项
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "fast-one" out of: fast-one, agent-sidecar (init)
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "9fa6c9a33fd865a207ccd3a2ac3a4be6cb84c19905cfb8d97857f03faec91092": OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown
containers:
- image: xxxx.xxxx.xxxx/aaa/bbb:cccc
stdin: true
tty: true
有一种说发是由于runc 版本低,1.1.3.可以替换runc升到更高版本.待确定
© 版权声明
文章版权归作者所有,未经允许请勿转载。如内容涉嫌侵权,请在本页底部进入<联系我们>进行举报投诉!
THE END
















暂无评论内容