Is it possible to set up Stackdriver Monitoring for Kubernetes on Google Compute Engine?

2/15/2017

I'm running Kubernetes myself on Google Compute Engine (not Google Container Engine). Google Container Engine has built-in integration with Stackdriver Monitoring and I'm wondering if it's possible to set this up for a Kubernetes cluster on Google Compute Engine.

Specifically, I'd like to see more than just cpu, disk, etc. I want to see Kubernetes data like pod scheduling failures, pod counts, etc.

-- Jesse Shieh
google-compute-engine
google-kubernetes-engine
kubernetes
monitoring
stackdriver

1 Answer

2/15/2017

It is not possible to configure Stackdriver exactly the same way that it is done in GKE.

However, you can set ENABLE_CLUSTER_MONITORING to google in config-default.sh to enable Heapster and Google Cloud Monitoring.

-- Robert Bailey
Source: StackOverflow