Created
          June 3, 2015 17:26 
        
      - 
      
 - 
        
Save vmarmol/fc2ec9688489031fca2a to your computer and use it in GitHub Desktop.  
    Get performance metrics from local Kubelet
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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