NodeMetrics 设置节点的资源使用情况指标。
NodeMetrics 设置节点的资源使用情况指标。
对象
时间戳
窗口
使用情况
属性 | 类型 | 描述 |
---|---|---|
|
|
APIVersion 定义了对象的此表示形式的版本化模式。服务器应将识别的模式转换为最新的内部值,并可能拒绝无法识别的值。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
Kind 是一个字符串值,表示此对象表示的 REST 资源。服务器可以从客户端提交请求的端点推断出这一点。无法更新。使用驼峰式命名法。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
标准对象的元数据。更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
|
|
以下字段定义从区间 [Timestamp-Window, Timestamp] 收集指标的时间间隔。 |
|
|
内存使用量是内存工作集。 |
|
|
提供以下 API 端点
/apis/metrics.k8s.io/v1beta1/nodes
GET
:列出 NodeMetrics 类型的对象
/apis/metrics.k8s.io/v1beta1/nodes/{name}
GET
:读取指定的 NodeMetrics
GET
列出 NodeMetrics 类型的对象
HTTP 代码 | 响应正文 |
---|---|
200 - 确定 |
参数 | 类型 | 描述 |
---|---|---|
|
|
NodeMetrics 的名称 |
GET
读取指定的 NodeMetrics
HTTP 代码 | 响应正文 |
---|---|
200 - 确定 |
|