How to integrate Google container engine with Stackdriver with kubernaties

Most folks have been using Grafana or something similar to monitor Kubernaties cluster.

If you are using Google cloud container engine , then the standard unified place to monitor all your application and services is Slackdriver.

According to googles documentation, when you create a new container cluster using GUI or  gcloud, Slackdriver is automatically configured with a sink, however It did not work out of the box for me hence this post :)

Well, the easiest way to check if Slackdriver is configured is to issue a command

gcloud container clusters describe <cluster-name>

If the response contains something like monitoringService: monitoring.googleapis.com then yer all good and you can simply go and visit https://app.google.stackdriver.com/gke link which should point you to you cluster.


other wise issue this command to register sinks with monitoring.googleapis.com

gcloud alpha container clusters update <clustername> --monitoring-service=monitoring.googleapis.com

Hope this helps

Varun Pant

How to integrate Google container engine with Stackdriver with kubernaties  by  Varun Pant