NodeMetrics sets resource usage metrics of a node.
NodeMetrics sets resource usage metrics of a node.
object
timestamp
window
usage
Property | Type | Description |
---|---|---|
|
|
apiVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
|
|
The following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp]. |
|
|
The memory usage is the memory working set. |
|
|
The following api endpoints are available:
/apis/metrics.k8s.io/v1beta1/nodes
GET
: list objects of kind NodeMetrics
/apis/metrics.k8s.io/v1beta1/nodes/{name}
GET
: read the specified NodeMetrics
GET
list objects of kind NodeMetrics
HTTP code | Reponse body |
---|---|
200 - OK |
|
Parameter | Type | Description |
---|---|---|
|
|
name of the NodeMetrics |
GET
read the specified NodeMetrics
HTTP code | Reponse body |
---|---|
200 - OK |
|