异常
[root@node1 ~]# kubectl exec -it etcd-master -n kube-system /bin/bash kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl kubectl exec [POD] -- [COMMAND] instead. 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 command terminated with exit code 126
解决:
1.POD没有正常启动
2.容器中没有/bin/bash和/bin/sh命令