"timezone": "UTC+8", kubectl apply -f grafana-dashboardDefinitions.yaml # 使修改的配置生效 >F5刷新页面,再次查看,可以看到所有相关的dashboard显示时间已自动+8,变成了北京时间,比较符合国人习惯
kube-prometheus项目中,默认dashboard时区是UTC,比中国时间慢了8小时,很不便于日常监控查看,如下图 搜索timezone关键字眼 grep -i timezone grafana-dashboardDefinitions.yaml "timezone": "UTC", "timezone": "UTC", "timezone": "UTC", "timezone": "UTC", "timezone": "UTC", "timezone": "UTC"...