Problem: empty graphics in GKE cluster node detail (No data for this time interval). How can I fix it?

1/10/2020

I have a cluster in Google Cloud. But I need to know information about resources usage. In interface of each node there are three graphics about CPU, memory and disk usage. But all this graphics in the each node have warning "No data for this time interval" for any time interval.

no data in any resource usage

I upgraded all clusters and nodes to the latest version 1.15.4-gke.22 and changed "Legacy Stackdriver Logging" to "Stackdriver Kubernetes Engine Monitoring".

Stackdriver Kubernetes Engine Monitoring enabled

But it didn't help. In Stackdriver Workspace there is only "disk_read_bytes" with graphics, any other requests in Metric Explorer have only message "No data for this time interval"

no data for this time interval

If I do request "kubectl top nodes" in the command line, I see current data for CPU and memory. But I need to see it on Node detail page to understand the peak load. How can I configure it?

-- Verter
google-cloud-stackdriver
google-kubernetes-engine
monitoring

1 Answer

1/10/2020

Actually it sound strange because if you can get metrics in command line and the Stackdriver interface doesn't show them maybe it's a bug.

I recommend this: if you be able, create a cluster with the minimum resources, check the same Stackdriver metrics and if there are metrics, it can be a bug and you can report it on in the appropriate GCP channel.

Check the documentation about how to get support within GCP:

Best Practices for Working with Cloud Support

Getting support for Google Cloud

-- David C
Source: StackOverflow