為何我收到多個 etcd 警示?
您會收到 etcdHighNumberOfLeaderChanges 或 etcdExcessiveDatabaseGrowth 的多個警示,其說明類似下列訊息。
"etcd": 7.5 leader changes within the last 15 minutes. Frequent elections might be a sign of insufficient resources, high network latency, or disruptions by other components and should be investigated.
"etcd cluster "etcd": Observed surge in etcd writes leading to 50% increase in database size over the past four hours on etcd instance, please check as it might be disruptive.
群集 etcd 資料庫位於群集控制平面,由 IBM 維護。 來自三個 etcd 獨立實體的度量值會推送到群集中的單一 pod,但度量值的來源並不總是可以區分的。 當 Prometheus 收集這些度量指標時,它們可能會被解讀為來自單一 etcd 實體,而非多個獨立的實體,造成高活動率的錯誤警示。 在此情況下,沒有基礎問題,警示會錯誤地觸發。
通常,etcdHighNumberOfLeaderChanges 和 etcdExcessiveDatabaseGrowth 不會指出基礎問題,可以忽略。 如果您想要驗證警示是否為 false,您可以聯絡客戶支援中心。 開啟 支援案例。 在案例詳細資料中,請務必包括任何相關日誌檔、錯誤訊息或指令輸出。