- 已编辑
yunkunrao pod/calico-node-xljh2 和 pod/calico-node-6947s
[root@node1 ~]# kubectl get events
LAST SEEN TYPE REASON OBJECT MESSAGE
3h5m Normal Starting node/node1 Starting kubelet.
3h5m Normal NodeHasSufficientMemory node/node1 Node node1 status is now: NodeHasSufficientMemory
3h5m Normal NodeHasNoDiskPressure node/node1 Node node1 status is now: NodeHasNoDiskPressure
3h5m Normal NodeHasSufficientPID node/node1 Node node1 status is now: NodeHasSufficientPID
3h5m Normal NodeAllocatableEnforced node/node1 Updated Node Allocatable limit across pods
3h4m Normal Starting node/node1 Starting kube-proxy.
3h4m Normal RegisteredNode node/node1 Node node1 event: Registered Node node1 in Controller
3h4m Normal Starting node/node1 Starting kube-proxy.
7m17s Normal Starting node/node1 Starting kubelet.
7m16s Normal NodeHasSufficientMemory node/node1 Node node1 status is now: NodeHasSufficientMemory
7m16s Normal NodeHasNoDiskPressure node/node1 Node node1 status is now: NodeHasNoDiskPressure
7m16s Normal NodeHasSufficientPID node/node1 Node node1 status is now: NodeHasSufficientPID
7m17s Normal NodeAllocatableEnforced node/node1 Updated Node Allocatable limit across pods
5m53s Normal Starting node/node1 Starting kube-proxy.
5m38s Normal Starting node/node1 Starting kube-proxy.
5m32s Normal RegisteredNode node/node1 Node node1 event: Registered Node node1 in Controller
3h4m Normal RegisteredNode node/node2 Node node2 event: Registered Node node2 in Controller
3h3m Normal NodeNotReady node/node2 Node node2 status is now: NodeNotReady
6m49s Normal Starting node/node2 Starting kubelet.
6m35s Normal NodeHasSufficientMemory node/node2 Node node2 status is now: NodeHasSufficientMemory
6m42s Normal NodeHasNoDiskPressure node/node2 Node node2 status is now: NodeHasNoDiskPressure
6m35s Normal NodeHasSufficientPID node/node2 Node node2 status is now: NodeHasSufficientPID
6m49s Normal NodeAllocatableEnforced node/node2 Updated Node Allocatable limit across pods
5m51s Normal Starting node/node2 Starting kube-proxy.
5m38s Normal Starting node/node2 Starting kube-proxy.
5m32s Normal RegisteredNode node/node2 Node node2 event: Registered Node node2 in Controller
3h4m Normal RegisteredNode node/node3 Node node3 event: Registered Node node3 in Controller
3h3m Normal NodeNotReady node/node3 Node node3 status is now: NodeNotReady
6m43s Normal Starting node/node3 Starting kubelet.
6m29s Normal NodeHasSufficientMemory node/node3 Node node3 status is now: NodeHasSufficientMemory
6m36s Normal NodeHasNoDiskPressure node/node3 Node node3 status is now: NodeHasNoDiskPressure
6m29s Normal NodeHasSufficientPID node/node3 Node node3 status is now: NodeHasSufficientPID
6m42s Normal NodeAllocatableEnforced node/node3 Updated Node Allocatable limit across pods
5m51s Normal Starting node/node3 Starting kube-proxy.
5m39s Normal Starting node/node3 Starting kube-proxy.
5m32s Normal RegisteredNode node/node3 Node node3 event: Registered Node node3 in Controller
[root@node1 ~]#
[root@node1 ~]# kubectl get events -n kube-system |grep calico-node-6947s
4h1m Warning Unhealthy pod/calico-node-6947s Readiness probe failed: calico/node is not ready: BIRD is not ready: Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory
3h52m Warning BackOff pod/calico-node-6947s Back-off restarting failed container
15m Warning FailedMount pod/calico-node-6947s MountVolume.SetUp failed for volume "calico-node-token-qtlkr" : failed to sync secret cache: timed out waiting for the condition
15m Normal SandboxChanged pod/calico-node-6947s Pod sandbox changed, it will be killed and re-created.
15m Normal Pulled pod/calico-node-6947s Container image "dockerhub.kubekey.local/calico/cni:v3.15.1" already present on machine
15m Normal Created pod/calico-node-6947s Created container upgrade-ipam
15m Normal Started pod/calico-node-6947s Started container upgrade-ipam
15m Normal Pulled pod/calico-node-6947s Container image "dockerhub.kubekey.local/calico/cni:v3.15.1" already present on machine
15m Normal Created pod/calico-node-6947s Created container install-cni
15m Normal Started pod/calico-node-6947s Started container install-cni
15m Normal Pulled pod/calico-node-6947s Container image "dockerhub.kubekey.local/calico/pod2daemon-flexvol:v3.15.1" already present on machine
15m Normal Created pod/calico-node-6947s Created container flexvol-driver
15m Normal Started pod/calico-node-6947s Started container flexvol-driver
5m55s Normal Pulled pod/calico-node-6947s Container image "dockerhub.kubekey.local/calico/node:v3.15.1" already present on machine
15m Normal Created pod/calico-node-6947s Created container calico-node
15m Normal Started pod/calico-node-6947s Started container calico-node
14m Warning Unhealthy pod/calico-node-6947s Readiness probe failed: calico/node is not ready: BIRD is not ready: Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory
14m Warning Unhealthy pod/calico-node-6947s Liveness probe failed: calico/node is not ready: bird/confd is not live: exit status 1
55s Warning BackOff pod/calico-node-6947s Back-off restarting failed container
[root@node1 ~]#
[root@node1 ~]# kubectl get events -n kube-system |grep calico-node-xljh2
4h8m Normal Pulled pod/calico-node-xljh2 Container image "dockerhub.kubekey.local/calico/node:v3.15.1" already present on machine
3h53m Warning Unhealthy pod/calico-node-xljh2 Readiness probe failed: calico/node is not ready: BIRD is not ready: Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory
3h58m Warning BackOff pod/calico-node-xljh2 Back-off restarting failed container
17m Normal SandboxChanged pod/calico-node-xljh2 Pod sandbox changed, it will be killed and re-created.
17m Normal Pulled pod/calico-node-xljh2 Container image "dockerhub.kubekey.local/calico/cni:v3.15.1" already present on machine
17m Normal Created pod/calico-node-xljh2 Created container upgrade-ipam
17m Normal Started pod/calico-node-xljh2 Started container upgrade-ipam
16m Normal Pulled pod/calico-node-xljh2 Container image "dockerhub.kubekey.local/calico/cni:v3.15.1" already present on machine
16m Normal Created pod/calico-node-xljh2 Created container install-cni
16m Normal Started pod/calico-node-xljh2 Started container install-cni
16m Normal Pulled pod/calico-node-xljh2 Container image "dockerhub.kubekey.local/calico/pod2daemon-flexvol:v3.15.1" already present on machine
16m Normal Created pod/calico-node-xljh2 Created container flexvol-driver
16m Normal Started pod/calico-node-xljh2 Started container flexvol-driver
16m Normal Pulled pod/calico-node-xljh2 Container image "dockerhub.kubekey.local/calico/node:v3.15.1" already present on machine
16m Normal Created pod/calico-node-xljh2 Created container calico-node
16m Normal Started pod/calico-node-xljh2 Started container calico-node
6m53s Warning Unhealthy pod/calico-node-xljh2 Readiness probe failed: calico/node is not ready: BIRD is not ready: Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory
15m Warning Unhealthy pod/calico-node-xljh2 Liveness probe failed: calico/node is not ready: bird/confd is not live: exit status 1
15m Normal Killing pod/calico-node-xljh2 Container calico-node failed liveness probe, will be restarted
2m1s Warning BackOff pod/calico-node-xljh2 Back-off restarting failed container
[root@node1 ~]#