How to list Kubernetes recently deleted pods?

后端 未结 8 910
隐瞒了意图╮
隐瞒了意图╮ 2020-12-14 14:35

Is there a way to get some details about Kubernetes pod that was deleted (stopped, replaced by new version).

I am investigating bug. I have logs with my pod name. Th

8条回答
  •  甜味超标
    2020-12-14 15:26

    There is this flag:

    -a, --show-all=false: When printing, show all resources (default hide terminated pods.)

    But this may not help in all cases of old pods.

提交回复
热议问题