Skip to content

Instantly share code, notes, and snippets.

@gosharplite
Last active May 26, 2017 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gosharplite/f962de3868027e348f8322c1a9bcf6b7 to your computer and use it in GitHub Desktop.
Save gosharplite/f962de3868027e348f8322c1a9bcf6b7 to your computer and use it in GitHub Desktop.
Prometheus 5-26 22:18

MEM graph
MEM 增長比較慢的 pods.
sh-app-zone-6978-1362485141-fdllx
sh-app-zone-6978-1362485141-15pcw

CPU graph
CPU 用量特別少的 pods.
sh-app-zone-6978-1362485141-tl7zh
sh-app-zone-6978-1362485141-w120n

$ ./kubectl get po -o wide | grep zone-6978
sh-app-zone-6978-1362485141-15pcw         4/4       Running   0          10h       10.2.112.234   10.10.20.56
sh-app-zone-6978-1362485141-2dbcs         4/4       Running   0          10h       10.2.249.9     10.10.20.62
sh-app-zone-6978-1362485141-3p1tf         4/4       Running   0          10h       10.2.154.199   10.10.20.61
sh-app-zone-6978-1362485141-67b50         4/4       Running   0          10h       10.2.233.225   10.10.20.60
sh-app-zone-6978-1362485141-8p4zx         4/4       Running   0          10h       10.2.233.218   10.10.20.60
sh-app-zone-6978-1362485141-dmzmh         4/4       Running   0          10h       10.2.233.203   10.10.20.60
sh-app-zone-6978-1362485141-fdllx         4/4       Running   0          10h       10.2.112.225   10.10.20.56
sh-app-zone-6978-1362485141-fq1bb         4/4       Running   0          10h       10.2.243.191   10.10.20.62
sh-app-zone-6978-1362485141-l5r71         4/4       Running   0          10h       10.2.154.246   10.10.20.61
sh-app-zone-6978-1362485141-l6kpz         4/4       Running   0          10h       10.2.243.189   10.10.20.62
sh-app-zone-6978-1362485141-lc710         4/4       Running   0          10h       10.2.112.194   10.10.20.56
sh-app-zone-6978-1362485141-sktjb         4/4       Running   0          10h       10.2.243.176   10.10.20.62
sh-app-zone-6978-1362485141-tl7zh         4/4       Running   0          10h       10.2.112.211   10.10.20.56
sh-app-zone-6978-1362485141-w120n         4/4       Running   0          10h       10.2.154.250   10.10.20.61
sh-app-zone-6978-1362485141-xr65p         4/4       Running   0          10h       10.2.183.228   10.10.20.53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment