Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

22.5. 노드에서 보고하는 시스템 리소스

각 노드는 컨테이너 런타임 및 kubelet에서 사용하는 시스템 리소스를 보고합니다. system-reserved 구성을 간소화하려면 노드 요약 API를 사용하여 노드의 리소스 사용량을 확인합니다. 노드 요약은 <master>/api/v1/nodes/<node>/proxy/stats/summary 에서 사용할 수 있습니다.

예를 들어 cluster.node22 노드의 리소스에 액세스하려면 다음 명령을 실행합니다.

$ curl <certificate details> https://<master>/api/v1/nodes/cluster.node22/proxy/stats/summary

응답에는 다음과 유사한 정보가 포함됩니다.

{
    "node": {
        "nodeName": "cluster.node22",
        "systemContainers": [
            {
                "cpu": {
                    "usageCoreNanoSeconds": 929684480915,
                    "usageNanoCores": 190998084
                },
                "memory": {
                    "rssBytes": 176726016,
                    "usageBytes": 1397895168,
                    "workingSetBytes": 1050509312
                },
                "name": "kubelet"
            },
            {
                "cpu": {
                    "usageCoreNanoSeconds": 128521955903,
                    "usageNanoCores": 5928600
                },
                "memory": {
                    "rssBytes": 35958784,
                    "usageBytes": 129671168,
                    "workingSetBytes": 102416384
                },
                "name": "runtime"
            }
        ]
    }
}

인증서 세부 정보에 대한 자세한 내용은 REST API 개요 를 참조하십시오.