1.23. 对 metrics-collector 进行故障排除

指标收集器可能无法将指标推送到 {product-short} hub 集群

1.23.1. 症状 1:认证无效

导入受管集群后,可能会因为 metrics-collector-deployment-<pod_name> 的认证无效收到以下错误信息:

x509: certificate signed by unknown authority

如果在 metrics-collector-deployment-<pod_name> pod 重启后,observability-managed-cluster-certs secret 被删除或重新创建,则可能会接收到错误信息。证书没有在 secret 中更新。