内容纲要
概要描述
本文描述node-problem-detector启动报错Could not open configuration file /etc/chrony/chrony.conf : No such file or director的解决方案
详细描述
问题描述
某些情况下(比如集群服务器重启之后)node-problem-detector出现重启之后,启动失败,查看pod日志报错
Could not open configuration file /etc/chrony/chrony.conf : No such file or director

解决方案
在问题节点上
cp /etc/chrony.conf /etc/chrony/
然后重启该节点的node-problem-detector pod
kubectl delete pod node-problem-detector-xxxx -n kube-system