[[["わかりやすい","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,["This document shows how to create a set of recommended custom dashboards\nfor monitoring your clusters created in Google Distributed Cloud (software only)\nfor VMware.\n| **Note:** If Cloud Monitoring is enabled in your project, a set of predefined dashboards are automatically available. See [Use predefined dashbboards](/kubernetes-engine/distributed-cloud/vmware/docs/reference/predefined-dashboards) for details. Only proceed with samples in this document if your needs are not covered by the predefined dashboards.\n\nPermissions for creating dashboards\n\nTo create dashboards, your Google Account must have the following\n[permissions](/monitoring/access-control#dashboards_2)\nto create dashboards:\n\n- `monitoring.dashboards.create`\n- `monitoring.dashboards.delete`\n- `monitoring.dashboards.update`\n\nYou'll have these permissions if your account has one of the following\nroles. You can check your permissions ([in the Google Cloud console](https://console.cloud.google.com/iam-admin/roles)):\n\n- `monitoring.dashboardEditor`\n- `monitoring.editor`\n- Project `editor`\n- Project `owner`\n\nIn addition, to use `gcloud` (gcloud CLI) to create dashboards, your Google Account must have the `serviceusage.services.use` permission.\n\nYour account will have this permission if it has one of the following roles:\n\n- `roles/serviceusage.serviceUsageConsumer`\n- `roles/serviceusage.serviceUsageAdmin`\n- `roles/owner`\n- `roles/editor`\n- Project `editor`\n- Project `owner`\n\nRecommended dashboards\n\nAfter you create a cluster (admin or user), a best practice is to create the\nfollowing dashboards with Cloud Monitoring to let your operations team\nmonitor cluster health:\n\n- [Control plane uptime dashboard](#control_plane_uptime_dashboard)\n- [Pod status dashboard](#pod_status_dashboard)\n- [Node status dashboard](#node-status-dashboard)\n- [VM health status dashboard](#vm-health-status-dashboard)\n- [Node utilization dashboard](#node-utilization-dashboard)\n- [Anthos utilization dashboard](#anthos-utilization-dashboard)\n\nIf your cluster also runs Windows Server OS nodes, you can\n[create the following\ndashboards](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/user-guide-for-windows-server-os-node-pools#windows_monitoring_agent)\nto monitor the status of Windows nodes and Pods:\n\n- Windows node status dashboard\n- Windows pod status dashboard\n\nThe dashboards are automatically created during admin cluster installation\nif Cloud Monitoring is enabled.\n\nThis section describes how to create these dashboards. For more information\nabout the dashboard creation process described in the following sections, see\n[Managing dashboards by API](/monitoring/dashboards/api-dashboard).\n\nCreate a control plane uptime dashboard\n\nThe control plane consists of the API server, scheduler, controller manager,\nand etcd. To monitor the status of the control plane, create a dashboard that\nmonitors the state of these components.\n\n1. Download the dashboard configuration: [`control-plane-uptime.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/control-plane-uptime.json).\n\n2. Create a custom dashboard with the configuration file by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=control-plane-uptime.json\n ```\n3. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n4. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **GKE on-prem control plane uptime** . The control plane uptime of each user\n cluster is collected from separate namespaces within the admin cluster.\n The **namespace_name** field is the user cluster name.\n\n5. Optionally create [alerting policies](/monitoring/alerts).\n\n Click to see a sample dashboard.\n\nCreate a Pod status dashboard\n\nTo create a dashboard that includes the phase of each Pod, and the restart\ntimes and resource usage of each container, perform the following steps.\n\n1. Download the dashboard configuration: [`pod-status.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/pod-status.json).\n\n2. Create a custom dashboard with the configuration file by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=pod-status.json\n ```\n3. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n4. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **GKE on-prem pod status**.\n\n5. Optionally create [alerting policies](/monitoring/alerts).\n\n Click to see a sample dashboard.\n\nCreate a node status dashboard\n\nTo create an node status dashboard to monitor the node condition, CPU, memory and disk usage,\nperform the following steps:\n\n1. Download the dashboard configuration: [`node-status.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/node-status.json).\n\n2. Create a custom dashboard with the configuration file by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=node-status.json\n ```\n3. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n4. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **GKE on-prem node status**.\n\n5. Optionally create [alerting policies](/monitoring/alerts).\n\n Click to see a sample dashboard.\n\nCreate a VM health status dashboard\n\nA VM health status dashboard monitors CPU, memory, and disk resource contention signals for VMs in the admin cluster and user clusters.\n\nTo create an VM health status dashboard:\n\n1. Make sure `stackdriver.disableVsphereResourceMetrics` is set to false. See [User cluster configuration file](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/user-cluster-configuration-file-latest#stackdriver-disablevsphereresourcemetrics-field).\n\n2. Download the dashboard configuration: [`vm-health-status.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/vm-health-status.json).\n\n3. Create a custom dashboard with the configuration file by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=vm-health-status.json\n ```\n4. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n5. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **GKE on-prem VM health status**.\n\n6. Optionally create [alerting policies](/monitoring/alerts).\n\n Click to see a sample dashboard.\n\nCreate a node utilization dashboard\n\nA node utilization dashboard shows the following utilization in the cluster:\n\n- Node CPU allocation ratio\n- Available vCPUs to schedule Kubernetes workload\n- Node memory allocation ratio\n- Available memory to schedule k8s workload\n- Node disk utilization ratio\n\nTo create a node utilization dashboard:\n\n1. Download the dashboard configuration: [`node-utilization.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/node-utilization.json).\n\n2. Use this configuration file to create a custom dashboard by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=node-utilization.json\n ```\n3. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n4. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **GKE on-prem node utilization**.\n\n5. Optionally create [alerting policies](/monitoring/alerts).\n\nCreate an Anthos Utilization Metering dashboard\n\nAn Anthos Utilization Metering dashboard shows CPU and memory utilization in the clusters by namespace and Pod labels.\n\nTo create an Anthos Utilization Metering dashboard:\n\n1. Download the dashboard configuration: [`anthos-utilization.json`](/static/kubernetes-engine/distributed-cloud/vmware/docs/samples/anthos-utilization.json).\n\n2. Use this configuration file to create a custom dashboard by running the\n following command:\n\n ```\n gcloud monitoring dashboards create --config-from-file=anthos-utilization.json\n ```\n3. In the Google Cloud console, select **Monitoring**, or use the\n following button:\n\n [Go to Monitoring](https://console.cloud.google.com/monitoring)\n4. Select **Resources \\\u003e Dashboards** and\n view the dashboard named\n **Anthos Utilization Metering**.\n\n5. Optionally create [alerting policies](/monitoring/alerts).\n\n Click to see a sample dashboard."]]