kubectl top命令查询的结果,是从什么指标采集的
目录
该命令执行结果,来自于metrics-server组建,通过查看源码得知,相关metrics如下
名称 | metrics |
---|---|
nodeCpuUsageMetricName | node_cpu_usage_seconds_total |
nodeMemUsageMetricName | node_memory_working_set_bytes |
containerCpuUsageMetricName | container_cpu_usage_seconds_total |
containerMemUsageMetricName | container_memory_working_set_bytes |