Metricbeats on GKE not working as expected - Missing deployments, nodes, etc

I followed everything as the tutorial is saying: https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-kubernetes.html

But I still don't get my nodes and deployments status:

I have kube-state-metrics running, when I see the logs on the metricbeat pod I get the following error:

"github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:235: Failed to list *v1beta1.ReplicaSet: replicasets.apps is forbidden: User "system:serviceaccount:kube-system:metricbeat" cannot list resource "replicasets" in API group "apps" at the cluster scope"

That's a known issue, will be fixed at next release

1 Like

Is there a workaround? Other than downgrading to 7.3.

1 Like

@pmercado, can you tell when the next release is likely to become available?

1 Like

@pmercado, I upgraded Metricbeat to 7.5.0 and still don't get per-node network, CPU and process metrics and nanocores counts. Should I try 8.0 from git?

1 Like

Same here! The metrics are still missing...

It's the same too on 7.5 version, metrics data are still missing.

Did you try to execute the yaml as an admin in GKE? See in the documentation.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.