Skip to content

Instantly share code, notes, and snippets.

@vmarmol
vmarmol / get_metrics.sh
Created June 3, 2015 17:26
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