GKE - Stackdriver Kubernetes Monitoring

3/15/2019

Following the steps provided in this documentation.

I was looking into better monitoring of our GKE cluster and so thought I'd try out the beta kubernetes Stackdriver monitoring. My cluster version is 1.11.7 (later than the suggested 1.11.2) and I created the cluster with the --enable-stackdriver-kubernetes flag.

In the cluster details Stackdriver logging and monitoring is listed as 'Enabled v2(beta)' however in the stackdriver resources menu the 'kubernetes beta' option will simply not appear as shown here.

I have also confirmed fluentd, heapster and metadata-agent pods are running within the cluster as suggested by the docs.

Any possible suggestions are much appreciated.

-- James Downing
google-cloud-platform
google-kubernetes-engine
stackdriver

1 Answer

3/22/2019

I managed to resolve this issue:

  • Firstly the 'Kubernetes Beta' option appeared in Stackdriver appeared without me making any changes to the cluster(Slightly annoying)
  • I gave the clusters service account the appropriate monitoring and logging roles.
-- James Downing
Source: StackOverflow