Skip to content

Instantly share code, notes, and snippets.

@buzztaiki
Created December 27, 2022 09:28
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 buzztaiki/d0246425dceb772f324c91250513add1 to your computer and use it in GitHub Desktop.
Save buzztaiki/d0246425dceb772f324c91250513add1 to your computer and use it in GitHub Desktop.
Pod再起動したのを取ってくる

大体こんな感じで。

sum by(pod) (increase(kube_pod_container_status_restarts_total{some_condition}[2m]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment