Closed stephen-soltesz closed 6 years ago
This command extracts the lastState.teriminated.reason for all pods:
$ kubectl -n scraper get pods -o go-template="{{range .items}}{{(index .status.containerStatuses 0).lastState.terminated.reason}} {{.metadata.name}}:{{end}}" | tr ":" "\n"
2444 of 3043 have state OOMKilled.
Should be fixed by: https://github.com/m-lab/scraper/pull/276
It looks like the node exporter is OOM'ing