This page provides an overview of the Google Kubernetes Engine dashboards available in Google Cloud Platform Console.
GCP Console offers useful dashboards for your project's GKE clusters and their resources. You can use these dashboards to view, inspect, manage, and delete resources in your clusters. You can also create Deployments from the Workloads dashboard.
In conjunction with the
kubectl command-line tools, the
GKE dashboards are helpful for DevOps workflows,
troubleshooting issues, and when working with multiple GKE
clusters or Google Cloud Platform projects. Rather than using the
command-line to query clusters for information about their resources, you can
use these dashboards to get information about all resources in every cluster
quickly and easily.
The following dashboards are available for GKE:
- Kubernetes clusters displays the clusters in your current project. Displays each cluster's name, compute zone, cluster size, total cores, total memory, node version, outstanding notifications, and labels.
- Workloads displays workloads (Deployments, StatefulSets, DaemonSets, Jobs, and Pods) deployed to clusters in your current project. Includes each workload's name, status, type, number of running and total desired Pods, namespace, and cluster. Features a YAML-based text editor for inspecting and editing deployed resources, and a Deploy mechanism for creating stateless applications in your clusters.
- Services displays your project's Service and Ingress resources. Displays each resource's name, status, type, endpoints, number of running and total desired Pods, namespace, and cluster.
- Configuration displays your project's Secret and ConfigMap resources.
- Storage displays PersistentVolumeClaim and StorageClass resources associated with your clusters.
The following sections discuss each dashboard and its features.
Kubernetes clusters shows every Kubernetes cluster you have created in your project. You can use this dashboard to inspect details about clusters, make changes to their settings, connect to them using Cloud Shell, and delete them.
Additionally, you can easily upgrade your cluster and node versions from this dashboard. When a new upgrade is available, the dashboard displays a notification for the relevant cluster.
You can select a cluster to view a page about that cluster, which includes the following tab views:
- Details displays the current settings for the cluster and its node pool.
- Storage displays the persistent volumes and storage classes provisioned for the cluster's nodes.
- Nodes lists all of the cluster's nodes and their requested CPU, memory, and storage resources.
From this dashboard, you can select a cluster and click Edit to make changes to the cluster's settings.
You can use the Workloads dashboard to inspect, manage, edit, and delete workloads deployed to your clusters.
You can also deploy stateless applications using the menu's Deploy mechanism. For more information, refer to Deploying a Stateless Application.
You can select a workload from the list to view a page about that resource, which includes several tab views:
- Details displays the current settings for the workload, including its usage metrics, labels and selectors, update strategy, Pods specification, and active revisions.
- Managed pods lists the Pods that are managed by the workload. You can select a Pod from the list to view that Pod's details, events, logs, and YAML configuration file.
- Revision history lists each revision of the workload, including the active revision.
- Events lists human-readable messages for each event affecting the workload.
- YAML displays the workload's live configuration. You can use the YAML-based text editor provided in this menu to make changes to the workload. You can also copy and download the configuration from this menu.
You can use the dashboard's filter search to list only specific workloads. By default, Kubernetes system objects are filtered out.
Some workloads have an Actions menu with convenient buttons for performing common operations. For example, you can autoscale, update, and scale a Deployment from its Actions menu.
Services displays the load-balancing Service and traffic-routing Ingress objects associated with your project. It also displays the default Kubernetes system objects associated with networking, such as the Kubernetes API server, HTTP backend, and DNS.
You can select a resource from the list to view a page about that resource, which includes several tab views:
- Details displays information about the resource, including its usage metrics, IP, and ports.
- Events lists human-readable messages for each event affecting the resource.
- YAML displays the resource's live configuration. You can use the YAML-based text editor provided in this menu to make changes to the resource. You can also copy and download the configuration from this menu.
Configuration displays configuration files, Secrets, ConfigMaps, environment variables, and other configuration resources associated with your project. It also displays Kubernetes system-level configuration resources, such as tokens used by service accounts.
You can select a resource from this dashboard to view a detailed page about that resource. Sensitive data stored in Secrets is not displayed in the console.
Storage lists the storage resources provisioned for your clusters. When you create a PersistentVolumeClaim or StorageClass resource to be used by a cluster's nodes, those resources appear in this dashboard.
This dashboard has the following tab views:
- Persistent volume claims list all PersistentVolumeClaim resources in your clusters. You use PersistentVolumeClaims with StatefulSet workloads to have those workloads claim storage space on a persistent disk in the cluster.
- Storage classes list all StorageClass resources associated with your nodes. You use StorageClasses as "blueprints" for using space on a disk: you specify the disk's provisioner, parameters (such as disk type and compute zone), and reclaim policy. You also use StorageClass resources for dynamic volume provisioning, which allow you to create storage volumes on demand.
You can select a resource from these dashboards to view a detailed page for that resource.
The Kubernetes Dashboard add-on is deprecated in Kubernetes and is disabled by default on GKE. Starting with GKE v1.15, you will no longer be able to enable the Kubernetes Dashboard by using the add-on API. You will still be able to install Kubernetes Dashboard manually by following the instructions in the project's repository.
GCP Console provides dashboards to manage, troubleshoot, and monitor your GKE clusters, workloads, and applications.