[root@master ~]# kubectl describe pods kube-flannel-ds-amd64-mmcj5 -n kube-system ... ... ... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled <unknown> default-scheduler Successfully assigned kube-system/kube-flannel-ds-amd64-mmcj5 to k8s-master Normal Pulling 17m kubelet, k8s-master Pulling image "quay.io/coreos/flannel:v0.11.0-amd64" Normal Pulled 15m kubelet, k8s-master Successfully pulled image "quay.io/coreos/flannel:v0.11.0-amd64" Normal Created 14m kubelet, k8s-master Created container install-cni Normal Started 14m kubelet, k8s-master Started container install-cni Normal Pulled 13m (x4 over 14m) kubelet, k8s-master Container image "quay.io/coreos/flannel:v0.11.0-amd64" already present on machine Normal Created 13m (x4 over 14m) kubelet, k8s-master Created container kube-flannel Normal Started 13m (x4 over 14m) kubelet, k8s-master Started container kube-flannel Warning BackOff 2m8s (x61 over 14m) kubelet, k8s-master Back-off restarting failed container
查看pod日志
1 2 3
[root@master ~]# kubectl logs -f kube-flannel-ds-amd64-mmcj5 -n kube-system I0330 01:50:24.544864 1 main.go:210] Could not find valid interface matching ens192: error looking up interface ens192: route ip+net: no such network interface E0330 01:50:24.545148 1 main.go:234] Failed to find interface to use that matches the interfaces and/or regexes provided