This page contains code samples for Kubernetes Engine API. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.
Custom metrics exporter deployment
Kubernetes deployment manifest for a custom Cloud Monitoring exporter.
Custom metrics prometheus exporter HPA
Horizontal Pod Autoscaler for prometheus exporter to Cloud Monitoring.
Custom metrics prometheus exporter source code
Source code for custom prometheus exporter to Cloud Monitoring.
Pub/Sub deployment with credentials
Kubernetes deployment for the Pub/Sub sample app, with GOOGLE_APPLICATION_CREDENTIALS added as an environment variable.