이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 12. NodeMetrics [metrics.k8s.io/v1beta1]


Description
NodeMetrics sets resource usage metrics of a node.
Type
object
Required
  • timestamp
  • window
  • usage

12.1. Specification

PropertyTypeDescription

apiVersion

string

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

string

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

metadata

ObjectMeta

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

timestamp

Time

The following fields define time interval from which metrics were collected from the interval [Timestamp-Window, Timestamp].

usage

object (Quantity)

The memory usage is the memory working set.

window

Duration

 

12.2. API endpoints

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

12.2.1. /apis/metrics.k8s.io/v1beta1/nodes

HTTP method
GET
Description
list objects of kind NodeMetrics
Table 12.1. HTTP responses
HTTP codeReponse body

200 - OK

NodeMetricsList schema

12.2.2. /apis/metrics.k8s.io/v1beta1/nodes/{name}

Table 12.2. Global path parameters
ParameterTypeDescription

name

string

name of the NodeMetrics

HTTP method
GET
Description
read the specified NodeMetrics
Table 12.3. HTTP responses
HTTP codeReponse body

200 - OK

NodeMetrics schema

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.