I can’t entry into container command of the pod, please refer to details as follow
- kubectl -n exec -it <pod_name> sh -v=10
- The response code is 404 from kubectl execute.
- The node status is ok on the pod running, Reach to pod by pod ip or nodeport
- I try to found pod information on the node by curl, And then status is ok of the response (eg: https://<node_ip>:10250/pods)
Cluster information:
Kubernetes version: v1.18.20
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: kubeadm init
Host OS: Centos 7.9 5.4.210-1.el7.elrepo.x86_64
CNI and version: v0.3.1
CRI and version: Docker-ce v20.10.17