Skip to Main Content

Google Kubernetes Engine dashboard

This SquaredUp dashboard shows key metrics from any GKE (Google Kubernetes Engine) clusters and node groups, including utilization of resources and health status.

Dan Watts

Customer Support Engineer

Dashboard Preview

Google Kubernetes Engine dashboard

Challenge

To view your key Google Kubernetes Engine (GKE) metrics, it would usually require looking at each GKE cluster and node group individually in the Google Cloud Console (GCP) or via another complex third-party dashboarding tool.

In addition, although Cloud DevOps/infrastructure engineers maintain the health of GKE clusters, if GKE runs into issues, it usually has a wider impact. Software engineering teams and, most importantly, end users of the microservices hosted on impacted GKE infrastructure, will feel the effects of issues. So, more teams than just Cloud DevOps/infrastructure engineers need visibility, but the metrics are not easily accessible.

Solution

This Google Kubernetes Engine dashboard surfaces useful metrics of Kubernetes clusters and node pools hosted on GKE. This will allow engineers to quickly understand which parts of the Kubernetes clusters are healthy or not, reducing response and resolution times in case of any issues.

With this SquaredUp dashboard, you can also see the status of all Google Kubernetes Engine clusters and node pools at once due to the wide scope. Additionally, it would allow for teams that might not have Google Cloud Console access to view these metrics in an easily viewable format.

As key microservices are usually run on GKE, it is important to understand the status of this infrastructure. Showing the health status of clusters and nodes helps you spot any issues with the infrastructure that could impact business critical microservices. Understanding utilization levels of clusters and nodes is also important as it could help prevent future issues regarding GKE resources. Engineers also want to understand when the Kubernetes cluster has scaled to meet demand (if autoscaling is enabled).

The dashboard we’ve built surfaces these metrics of GKE clusters and node groups. Having the utilization metrics makes it easy to understand if any GKE infrastructure is near their resource limits and if the cluster has scaled automatically. This makes it simple for engineers to understand if they need to react proactively regarding GKE maintenance before any issues occur.

It is also possible to place important GKE metrics on the same dashboard with microservice and application level metrics surfaced with tools like Prometheus, which could allow engineers to view all metrics they need to see regarding a microservice without the need to hop between dashboards.

Dashboard walkthrough

This screenshot shows the top of the Google Kubernetes Engine dashboard created in SquaredUp. In the top two tiles, we have the overall health status of any GKE clusters or node pools in the demo environment. These two tiles would flag if the resources became unhealthy or unavailable. Right now, there is only one cluster and node pool, but if any more were created they would automatically be added to all metrics in this dashboard.

The next two tiles below this are ‘CPU Utilization per GKE Node’ and ‘Memory Utilization per GKE node’. Both metrics are fetched using standard MQL queries, example:

Scrolling down the dashboard, we then have some further metrics regarding storage, network, logs, and cost.

Ephemeral GKE storage is important to understand as it can scale automatically if enabled. Therefore, I have surfaced the currently used storage, and total allocatable. These two can then be compared to understand how much available storage is remaining.

Additionally, total network utilization is useful to understand. If the hosted microservices are publicly available, this metric could be much higher at peak time and could explain performance impact.

Get the dashboard

The Google Kubernetes Engine dashboard is one of our out-of-the-box dashboards, which means that you can expect to be up and running in minutes.

  1. Create a SquaredUp account and get started today for free.
  2. Simply add the GCP plugin and you're good to go.

To see what other dashboards you can create, including a Google Compute Engine dashboard, check out our Dashboard Gallery.

Combine your Google Kubernetes Engine dashboard data with...

Google Cloud Platform

Monitor your GCP environment, including GKE, Hosts and more.

SquaredUp has 50+ pre-built integrations for instant access to data.

Get all your engineering insights in one platform