Search code examples
kubernetesmonitoringgoogle-compute-enginegoogle-kubernetes-enginestackdriver

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


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.


Solution

  • 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.