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