2015-11-04 32 views
0

Kubernetes UI儀表盤顯示Kubernetes/Grafana - 存儲器使用率不匹配圖表

存儲器(這在此僕從自由-m匹配):7.29 GB/7.84 GB

此整體內存使用情況逐漸增加隨着時間的推移。我正在嘗試使用Kubernetes/Grafana這個度量標準的默認儀表板:memory/usage_bytes_gauge來查看這個內存增長情況。但是,我看到走狗

- The units do not match, i.e: approx 7GB used vs 200MiB on the plot 
- Memory change is all over in the graph as opposed to gradual increase 

回答

1

下面你可以繪製memory/working_set_bytes_guage,而不是memory/usage_bytes_guage? kube UI可能正在使用與免費相關的工作集。 memory/usage包括內核可以根據需要回收的頁面。

+0

我試過''memory/working_set_bytes_guage''圖。它在圖表方面沒有區別,即:300MiB範圍,並且沒有接近7.x GB的實數。必須有一種方法將內存(當前,歷史)與通過標準工具(如** top **)顯示的內容相關聯以進行基線分析。 –