Assume the following sequence:
RestartPolicy=OnFailure
It seems there are two possible behaviors. Will the pod Phase be Failed
before it restarts? Or will the container restart directly?
Which pattern will the pod phase follow?
a) Pending > Running > Failed > Running
b) Pending > Running
I can't tell which of these two options is implied by the Kubernetes RestartPolicy documentation.