This page provides an overview of the Google Kubernetes Engine (GKE) dashboards available in the Google Cloud console.
Overview
The Google Cloud 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 gcloud
and kubectl
command-line tools, the
GKE dashboards are helpful for DevOps workflows,
troubleshooting issues, and when working with multiple GKE
clusters or Google Cloud 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:
- GKE Enterprise overview displays an overview of your fleet.
- 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
(
Deployment
,StatefulSet
,DaemonSet
,Job
, and Pod resources) deployed to clusters in your current project. Includes each workload's name, status, type, number of running and total requested 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
andIngress
resources. Displays each resource's name, status, type, endpoints, number of running and total requested Pods, namespace, and cluster. - Secrets & ConfigMaps displays your project's
Secret
andConfigMap
resources. - Storage displays
PersistentVolumeClaim
andStorageClass
resources associated with your clusters. - Object Browser lists all of the objects running in every cluster in a given project.
GKE dashboards
The following sections discuss each dashboard and its features.
GKE Enterprise overview
If you've enabled GKE Enterprise, the overview helps you use your GKE Enterprise features by showing you how many security concerns your fleet has, your fleet-wide Policy Controller coverage, and the synchronization status of your Config Sync packages. In addition, the dashboard provides a fleet-level view of resource utilization of your fleets, clusters, and teams. You can use this information to help optimize spending, application design, and resource allocation, including CPU, memory, and disk utilization. To learn more, see the Use the GKE Enterprise overview.
Kubernetes clusters
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 upgrade your GKE Standard cluster and node versions from this dashboard. When a new upgrade is available, the dashboard displays a notification for the relevant cluster.
From this dashboard, you can select a cluster and click Edit to make changes to the cluster's settings.
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.
You can also click the Utilization, Observability, and Cost optimization tabs to view the following information:
- Utilization: If you've enabled GKE Enterprise, view a list of all clusters and sort them by CPU, memory, or disk utilization. This lets you quickly see which specific clusters are the biggest users of their resources. You can also view how many container restarts and error logs your cluster has. To learn more, see Fleet resource utilization metrics.
- Observability: View infrastructure health metrics for your GKE clusters and workloads. To learn more, see View observability metrics.
- Cost optimization: View cluster-level metrics that describe how effectively your GKE clusters and workloads are utilizing the Compute Engine resources you pay for. To learn more, see View cost-related optimization metrics.
Workloads
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
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.
Secrets & ConfigMaps
Secrets & ConfigMaps displays configuration files, Secret
objects, ConfigMap
objects, 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 Secret
objects are not displayed in the console.
Storage
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 usePersistentVolumeClaim
resources 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 useStorageClass
resources 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 useStorageClass
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.
Object Browser
Object Browser lists all of the objects running in all of the clusters in your current project. You can list and filter resources by specific API groups and Resource Kinds. You can also preview YAML file for any resource by navigating to its details page.
Kubernetes Dashboard
The Kubernetes Dashboard add-on 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. For clusters in which you have already deployed the add-on, it will continue to function but you will need to manually apply any updates and security patches that are released.
The Google Cloud console provides dashboards to manage, troubleshoot, and monitor your GKE clusters, workloads, and applications.