containerd 和 kubelet 服务重启后 Pod 也会重启

containerd 和 kubelet 服务重启后 Pod 也会重启

随着配置更改的发生,containerd 和 kubelet 服务都需要重新启动。重新启动服务后,节点上运行的所有 pod 都会重新启动。我检查了事件,如下所示。我无法找到容器也重新启动的原因。有人可以提出建议吗?

7m29s       Normal   SandboxChanged   pod/fluentd-ds-bqs9r   Pod sandbox changed, it will be killed and re-created.
7m29s       Normal   Killing          pod/fluentd-ds-bqs9r   Stopping container fluentd
7m15s       Normal   Pulled           pod/fluentd-ds-bqs9r   Container image "10.44.10.17/app1/fluentd-logs:1.94.0" already present on machine
7m15s       Normal   Created          pod/fluentd-ds-bqs9r   Created container step-one
7m15s       Normal   Started          pod/fluentd-ds-bqs9r   Started container step-one
7m14s       Normal   Pulling          pod/fluentd-ds-bqs9r   Pulling image "10.44.10.17/app1/fluentd-logs:1.94.0"
7m14s       Normal   Pulled           pod/fluentd-ds-bqs9r   Successfully pulled image "10.44.10.17/app1/fluentd-logs:1.94.0" in 77.028924ms
7m14s       Normal   Created          pod/fluentd-ds-bqs9r   Created container fluentd
7m14s       Normal   Started          pod/fluentd-ds-bqs9r   Started container fluentd```



OS / Versions used:
OS : Ubuntu Jammy
containerd:1.6.9-1

kubeadm : 1.24.15                                 
kubebootstrap :  3.4.1-20231013T175935Z-5d85a5e
kubectl : 1.24.15
kubelet : 1.24.15

相关内容