How to list Kubernetes recently deleted pods?

后端 未结 8 777
隐瞒了意图╮
隐瞒了意图╮ 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:16

    kubectl get pods -a    
    

    you will get the list of running pods and the terminated pods in case you are searching for this

提交回复
热议问题