<p>Is it possible to have a list of all reasons for the various <a href="https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-states" rel="nofollow noreferrer">container states</a> mentioned in kubernetes. So list of reasons for the state <code>Waiting</code>, <code>Running</code> and <code>Terminated</code>. For example, a state of <code>Waiting</code> can have a Reason of <code>ErrImagePull</code> or <code>CrashLoopBackOff</code>.</p>

<p>Please note that this is different from the list of events given in the answer to this <a href="https://stackoverflow.com/a/51423080/3079474">question</a>. I have also looked at the docker container statuses mentioned <a href="https://stackoverflow.com/questions/34472201/all-docker-container-statuses">here</a> but they don't seem to cover all the possibilities.</p>

user3079474
<p>What you are looking for is this <a href="https://github.com/kubernetes/kube-state-metrics/blob/master/docs/pod-metrics.md" rel="noreferrer">document</a> on official Kubernetes repository, which describes list of reasons for each of container status. For <code>Waiting</code> container status it is possible to get one of following reason:</p>
<ul>
<li>ContainerCreating,</li>
<li>CrashLoopBackOff,</li>
<li>ErrImagePull,</li>
<li>ImagePullBackOff,</li>
<li>CreateContainerConfigError,</li>
<li>InvalidImageName,</li>
<li>CreateContainerError.</li>
</ul>
<p>For <code>Terminated</code> container status there are different list of reasons:</p>
<ul>
<li>OOMKilled,</li>
<li>Error,</li>
<li>Completed,</li>
<li>ContainerCannotRun,</li>
<li>DeadlineExceeded</li>
</ul>
<p>And so on, I hope it will helps you.</p>
