<p>A newly created Kubernetes cluster on GKE is not pushing its metrics to Stackdriver. Output of <code>kubectl cluster-info</code> is:</p>

<pre><code>Kubernetes master is running at https://XXX.XXX.XXX.XXX
KubeDNS is running at https://XXX.XXX.XXX.XXX/api/v1/proxy/namespaces/kube-system/services/kube-dns
KubeUI is running at https://XXX.XXX.XXX.XXX/api/v1/proxy/namespaces/kube-system/services/kube-ui
Heapster is running at https://XXX.XXX.XXX.XXX/api/v1/proxy/namespaces/kube-system/services/monitoring-heapster
</code></pre>

<p>When I try to create a dashboard on Stackdriver with 'Custom Metrics', it says 'No Match Found'. Metrics were supposed to be present at this location with 'kubernetes.io' prefix according to Heapster documentation.</p>

<p>I have also enabled Cloud Monitoring API with Read Write permission while creating cluster. Is it required for pushing cluster metrics? </p>

<p>What Heapster does with the metrics depends on its configuration. When running as part of GKE, the metrics aren't exported as "custom" metrics, but rather as official GKE service metrics. The feature is still in an experimental, soft-launch state, but you should be able to access them at <a href="http://app.google.stackdriver.com/gke" rel="nofollow">app.google.stackdriver.com/gke</a></p>
