Skip to content

Instantly share code, notes, and snippets.

@vmarmol
Created June 3, 2015 17:26
Show Gist options
  • Save vmarmol/fc2ec9688489031fca2a to your computer and use it in GitHub Desktop.
Save vmarmol/fc2ec9688489031fca2a to your computer and use it in GitHub Desktop.
Get performance metrics from local Kubelet
#!/bin/bash
METRICS=`curl localhost:10248/metrics 2> /dev/null`
echo "$METRICS" | grep docker_error
echo "$METRICS" | grep sync_pods
echo "$METRICS" | grep sync_pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment