Warning: Error fetching server time: Detected 28799.947999954224 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.

1.这是因为服务器和本地时间不同步导致的 查看一下服务器时间

[root@k8s3 node_exporter-1.6.1.linux-amd64]# date
2024年 04月 12日 星期五 23:58:58 CST
[root@k8s3 node_exporter-1.6.1.linux-amd64]# 


#现在时间是下午四点  和本地不同步

2.解决办法 安装时间同步工具 

yum install -y ntpdate

3.请求阿里云的时间服务器

[root@k8s2 node_exporter-1.6.1.linux-amd64]# ntpdate ntp.aliyun.com
12 Apr 16:04:16 ntpdate[84188]: step time server 203.107.6.88 offset -28800.422259 sec
[root@k8s2 node_exporter-1.6.1.linux-amd64]# date 
2024年 04月 12日 星期五 16:04:20 CST
[root@k8s2 node_exporter-1.6.1.linux-amd64]# 

服务器刷新

Logo

DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。

更多推荐