List of all possible status / reasons in Kubernetes

前端 未结 4 660
夕颜
夕颜 2020-12-17 23:50

How do I know the list of all possible statuses and reasons in Kubernetes?

Right now, I\'m working with Kubernetes events. Based on certain unusual events, I will be

4条回答
  •  温柔的废话
    2020-12-18 00:38

    The k8s doc has confusing meaning about statuses, phases, reasons, conditions etc. In fact Pod does not have such of statuses which kubectl get pods returns in STATUS column. To confirm this, you need to look at PodStatus, PodCondition, ContainerState objects and you will see that the information reported as Pod status depends on the current ContainerState

提交回复
热议问题