이 페이지에서는 Google Kubernetes Engine(GKE) 클러스터의 비용 관련 사용률 측정항목을 보는 방법을 설명합니다. 이러한 측정항목에서는 GKE 클러스터 및 워크로드가 비용을 지불하는 Compute Engine 리소스를 얼마나 효율적으로 활용하는지 설명합니다.
이 정보를 사용하여 클러스터와 워크로드 사이의 비용 대비 성능 비율을 최적활 수 있습니다.
비용 최적화 측정항목
Google Cloud 콘솔의 비용 최적화 탭에서 클러스터와 워크로드에 대해 다음 측정항목을 볼 수 있습니다.
할당 가능: 클러스터의 모든 노드에 할당된 CPU 양입니다.
이 측정항목은 클러스터 페이지에 표시됩니다. node/cpu/allocatable_cores 측정항목에서 계산됩니다. Autopilot 클러스터의 경우 Google이 CPU 할당을 자동으로 조정하므로 할당 가능한 값이 없습니다.
할당 가능: 클러스터의 모든 노드에 할당된 메모리 양입니다. 이 측정항목은 클러스터 페이지에 표시됩니다. node/memory/allocatable_bytes 측정항목에서 계산됩니다. Autopilot 클러스터의 경우 Google에서 메모리 할당을 자동으로 조정하므로 할당 가능한 값이 없습니다.
측정항목의 평균(사용률) 또는 누적 시간(총 시간)을 구할 기간을 선택합니다. 예를 들면 1일, 1개월 등입니다. 클러스터 또는 워크로드의 수명이 선택한 기간보다 짧으면 클러스터 또는 워크로드 수명 동안 누적된 측정항목이 표시됩니다. 예를 들어 기간을 1일로 선택했지만 워크로드가 겨우 4시간 전에 생성되었다면 4시간 동안의 측정항목만 표시됩니다.
사용률 측정항목 위에 마우스 포인터를 올려놓으면 세부정보를 볼 수 있습니다.
클러스터 모드에 대해 비용 최적화 측정항목이 다음과 같이 표시됩니다.
전체 계산(kube-system 네임스페이스)에 관리형 GKE 구성요소가 포함되므로 표준 클러스터는 항상 생성, 요청, 할당 가능한 측정항목을 표시합니다.
Autopilot 클러스터는 지정된 요청이 있는 워크로드를 클러스터에 배포할 경우에만 측정항목을 표시합니다. 이는 Autopilot 가격 책정 모델 때문입니다. 실행 중인 워크로드에서 요청한 리소스에 대해서만 비용을 지불하므로 Autopilot 클러스터는 할당 가능한 측정항목을 표시하지 않습니다.
요청 또는 한도가 지정되지 않은 표준 클러스터에 배포된 워크로드의 경우 차트에 비율이 표시되지 않습니다. 대신 막대 그래프는 워크로드 사용량 측정항목만 나타냅니다.
요청 또는 한도가 지정되지 않은 Autopilot 클러스터에 배포된 워크로드는 컨테이너에 기본 값이 적용되고 항상 비율이 표시됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-01(UTC)"],[],[],null,["# View cost-related optimization metrics\n\n[Autopilot](/kubernetes-engine/docs/concepts/autopilot-overview) [Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nThis page shows you how to view cost-related utilization metrics for your\nGoogle Kubernetes Engine (GKE) clusters. These metrics describe how effectively your\nGKE clusters and workloads are utilizing the Compute Engine\nresources you pay for.\n\nYou can use this information to optimize the cost-to-performance ratio of your\nclusters and workloads.\n\nCost optimization metrics\n-------------------------\n\nIn the **Cost Optimization** tab in the Google Cloud console, you can view the following\nmetrics for your clusters and workloads:\n\n- **CPU utilization:** Displays a bar chart that shows the relationship between the following CPU metrics:\n - **Used** : The amount of CPU used by all containers in the cluster or workload. Calculated from the [`container/cpu/core_usage_time`](/monitoring/api/metrics_kubernetes#kubernetes/container/cpu/core_usage_time) metric.\n - **Requested** : The amount of CPU requested by all containers in the cluster or workload. Calculated from the [`container/cpu/request_cores`](/monitoring/api/metrics_kubernetes#kubernetes/container/cpu/request_cores) metric.\n - **Allocatable** : The amount of CPU allocated to all nodes in the cluster. This metric is shown on the Clusters page. Calculated from the [`node/cpu/allocatable_cores`](/monitoring/api/metrics_kubernetes#kubernetes/node/cpu/allocatable_cores) metric. For Autopilot clusters, there is no allocatable value because Google automatically adjusts CPU allocations.\n - **Limit** : The CPU limit for all containers in a workload. This metric is shown on the Workloads page. Calculated from the [`container/cpu/limit_cores`](/monitoring/api/metrics_kubernetes#kubernetes/container/cpu/limit_cores) metric.\n- **CPU hours** : The total number of core hours on all nodes in a workload or cluster within the selected timeframe. Calculated from the [`node/cpu/total_cores`](/monitoring/api/metrics_kubernetes#kubernetes/node/cpu/total_cores) metric (for Standard clusters) and the [`container/cpu/request_cores`](/monitoring/api/metrics_kubernetes#kubernetes/container/cpu/request_cores) metric (for Autopilot clusters and workloads).\n- **Memory utilization** : Displays a bar chart that shows the relationship between the following memory metrics:\n - **Used** : The amount of memory used by all containers in a cluster or workload. Calculated from the [`container/memory/used_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/container/memory/used_bytes) metric.\n - **Requested** : The amount of memory requested for all containers in a cluster or workload. Calculated from the [`container/memory/request_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/container/memory/request_bytes) metric.\n - **Allocatable** : The amount of memory allocated to all nodes in the cluster. This metric is shown on the Clusters page. Calculated from the [`node/memory/allocatable_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/node/memory/allocatable_bytes) metric. For Autopilot clusters, there is no allocatable value because Google automatically adjusts memory allocations.\n - **Limit** : The memory limit for all containers in a workload. This metric is shown on the Workloads page. Calculated from the [`container/memory/limit_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/container/memory/limit_bytes) metric.\n- **Memory hours** : The total amount of memory on all nodes in a workload or cluster within the selected timeframe. Calculated from the [`node/memory/total_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/node/memory/total_bytes) metric (for clusters) and the [`container/memory/requested_bytes`](/monitoring/api/metrics_kubernetes#kubernetes/container/memory/requested_bytes) metric (for Autopilot clusters and workloads).\n\nView the metrics\n----------------\n\nTo view cost-related utilization metrics, perform the following steps in the\nGoogle Cloud console :\n\n1. To see cluster-level metrics, go to the **Kubernetes Clusters** page.\n\n [Go to Kubernetes Clusters](https://console.cloud.google.com/kubernetes/list)\n\n To see workload-level metrics, go to the **Workloads** page.\n\n [Go to Workloads](https://console.cloud.google.com/kubernetes/workload)\n2. Select the **Cost Optimization** tab.\n\n3. Choose the timeframe over which the metrics are averaged (utilization) or\n accumulated (total hours). For example, 1 day, 1 month, and more. If the\n lifetime of the cluster or workload is less than the selected timeframe,\n metrics accumulated for the lifetime of cluster or workload displays. For\n example, you choose a timeframe of 1 day but the workload was created only\n 4 hours ago, so only 4 hours of metrics are displayed.\n\n4. Hold the pointer over the utilization metric to see further details.\n\nCost optimization metrics will display for cluster modes as follows:\n\n- Standard clusters will always have used, requested and allocatable metrics visible at creation time due to the inclusion of managed GKE components in the overall calculation (kube-system namespace).\n\n\u003c!-- --\u003e\n\n- Autopilot clusters only display metrics when you deploy workloads with specified requests to the cluster. This is due to the [Autopilot pricing](/kubernetes-engine/pricing#autopilot_mode) model. Autopilot clusters don't show allocatable metrics because you only pay for resources requested by your running workloads.\n\nWorkloads deployed to Standard clusters that don't have requests or\nlimits specified, won't show a ratio on the chart. Instead, the bar chart\nwill represent just the workload usage metric.\n\nWorkloads deployed to Autopilot clusters that don't have requests or\nlimits specified, will have [default](/kubernetes-engine/docs/concepts/autopilot-overview#default_container_resource_requests)\nvalues applied to the containers, and will show the ratios at all times.\n\nWhat's next\n-----------\n\n- Learn about [Best practices for running cost-optimized applications on GKE](/architecture/best-practices-for-running-cost-effective-kubernetes-applications-on-gke).\n- Read the [Create a cost-optimized cluster in just a few clicks](/blog/products/containers-kubernetes/gke-setup-guide-automates-creation-of-cost-optimized-cluster) blog post.\n- Learn how to [view observability metrics](/kubernetes-engine/docs/how-to/view-observability-metrics)."]]