node pod有問(wèn)題,求助
按照老師配置,部署一個(gè)pod沒(méi)問(wèn)題,在master上,部署2個(gè)也都在master上,但是集群有問(wèn)題。
node 的網(wǎng)絡(luò)好像有問(wèn)題一樣,請(qǐng)老師或者大神幫忙看看,謝謝!
node:
root@k8smaster:~# kubectl get nodes
NAME? ? ? ? STATUS? ? ?ROLES? ? AGE? ?VERSION
k8smaster? ?Ready? ? ? master? ?8d? ? v1.17.4
k8snode? ? ?NotReady? ?<none>? ?8d? ? v1.17.4
pod:
root@k8smaster:~# kubectl get po --all-namespaces -o wide
NAMESPACE? ? ?NAME? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? READY? ?STATUS? ? ? ? ? ? RESTARTS? ?AGE? ? ?IP? ? ? ? ? ? ? ?NODE? ? ? ? NOMINATED NODE? ?READINESS GATES
default? ? ? ?maven-deployment-668885bc49-cg6xg? ?1/1? ? ?Running? ? ? ? ? ?2? ? ? ? ? 47h? ? ?10.244.0.24? ? ? k8smaster? ?<none>? ? ? ? ? ?<none>
default? ? ? ?maven-deployment-668885bc49-j7pm5? ?1/1? ? ?Running? ? ? ? ? ?3? ? ? ? ? 4d11h? ?10.244.0.27? ? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?coredns-6955765f44-8sgt5? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?8? ? ? ? ? 8d? ? ? 10.244.0.25? ? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?coredns-6955765f44-pnrbp? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?9? ? ? ? ? 8d? ? ? 10.244.0.26? ? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?etcd-k8smaster? ? ? ? ? ? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?13? ? ? ? ?8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-apiserver-k8smaster? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?70? ? ? ? ?8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-controller-manager-k8smaster? ?1/1? ? ?Running? ? ? ? ? ?20? ? ? ? ?8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-flannel-ds-amd64-9xf56? ? ? ? ?1/1? ? ?Running? ? ? ? ? ?11? ? ? ? ?8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-flannel-ds-amd64-rzsp9? ? ? ? ?0/1? ? ?PodInitializing? ?1? ? ? ? ? 2d? ? ? 192.168.43.197? ?k8snode? ? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-proxy-ccwcq? ? ? ? ? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?4? ? ? ? ? 8d? ? ? 192.168.43.197? ?k8snode? ? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-proxy-ctzgc? ? ? ? ? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?8? ? ? ? ? 8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
kube-system? ?kube-scheduler-k8smaster? ? ? ? ? ? 1/1? ? ?Running? ? ? ? ? ?20? ? ? ? ?8d? ? ? 192.168.43.92? ? k8smaster? ?<none>? ? ? ? ? ?<none>
有問(wèn)題的POD:
? flannel-cfg:
? ? Type:? ? ? ConfigMap (a volume populated by a ConfigMap)
? ? Name:? ? ? kube-flannel-cfg
? ? Optional:? false
? flannel-token-554cv:
? ? Type:? ? ? ? Secret (a volume populated by a Secret)
? ? SecretName:? flannel-token-554cv
? ? Optional:? ? false
QoS Class:? ? ? ?Burstable
Node-Selectors:? <none>
Tolerations:? ? ?:NoSchedule
? ? ? ? ? ? ? ? ?node.kubernetes.io/disk-pressure:NoSchedule
? ? ? ? ? ? ? ? ?node.kubernetes.io/memory-pressure:NoSchedule
? ? ? ? ? ? ? ? ?node.kubernetes.io/network-unavailable:NoSchedule
? ? ? ? ? ? ? ? ?node.kubernetes.io/not-ready:NoExecute
? ? ? ? ? ? ? ? ?node.kubernetes.io/pid-pressure:NoSchedule
? ? ? ? ? ? ? ? ?node.kubernetes.io/unreachable:NoExecute
? ? ? ? ? ? ? ? ?node.kubernetes.io/unschedulable:NoSchedule
Events:? ? ? ? ? <none>