When updating a Kubernetes RollingUpdate deployment, kubectl get pods
shows some of the pods spend a few minutes in the ContainerCreating
state before moving to Running
. Unfortunately, the official documentation on pod states doesn't include this as a documented state. Even the kubernetes codebase has only two mentions of the term, and neither has any sort of explanatory comment.
I've been doing some adjustments to the rolling update deployment configuration value (maxUnavailable
and maxSurge
) and the probe configuration (initialDelaySeconds
), and I'm unsure if the container startup time that these values are affecting is part of ContainerCreating
or another state.