千寻

道路很长, 开始了就别停下!

0%

K8s排查问题命令

排查问题命令

1. kubectl get events

2. kubectl kubectls describe

3. kubectl logs

1
2
3
4
5
6
7
$ kubectl get events 
mount failed: exit status 32

$ kubectl kubectls describe nfs-client-provisioner-5f4c97f67c-jcprd
# kubectl logs nfs-client-provisioner-5f4c97f67c-jcprd

Warning Failed 11s (x2 over 16s) kubelet, 172.16.0.17 Error: Error response from daemon: invalid volume specification: '/var/lib/kubelet/pods/1dadc905-1ebc-408b-ba97-5558c7ed4181/volumes/kubernetes.io~nfs/nfs-client-root:/': invalid mount config for type "bind": invalid specification: destination can't be '/'