Skip to content

Instantly share code, notes, and snippets.

@maksim-paskal
Last active May 14, 2020 03:08
Show Gist options
  • Save maksim-paskal/1a80c4ef2b811376363a447cbd0fbf5a to your computer and use it in GitHub Desktop.
Save maksim-paskal/1a80c4ef2b811376363a447cbd0fbf5a to your computer and use it in GitHub Desktop.
# TOP CPU Usage pods
sort_desc(sum(rate(container_cpu_usage_seconds_total{image!="",container_name!="POD"}[5m])) by (pod,namespace,container_name,kubernetes_io_hostname))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment