All Products
Search
Document Center

Elastic Container Instance:Lifecycle of a pod

Last Updated:Sep 21, 2026

A pod (elastic container instance) passes through several statuses during its lifecycle. Understanding these statuses helps you design business logic such as polling pod state, handling failures, and calculating billing periods.

Pod statuses

The following table lists all pod statuses in ECI, their Kubernetes equivalents, and whether billing applies.

ECI statusDescriptionKubernetes statusBilled
SchedulingECI is allocating compute resources for the pod.PendingNo
PendingResources are allocated. One or more containers are starting; no containers are running yet.PendingYes
RunningAll containers are created, and at least one container is running or restarting.RunningYes
RestartingThe pod is restarting.PendingYes
UpdatingThe pod is being updated.PendingYes
TerminatingThe pod is being terminated. When a running pod configured with preStop is being deleted, the pod enters the Terminating state. After the preStop hook runs, the pod is deleted.RunningYes
SucceededAll containers exited successfully and will not restart.SucceededNo
FailedAll containers exited. At least one container terminated due to a runtime error — either by exiting with a non-zero code or being terminated by the system.FailedNo
ExpiredThe pod was a preemptible instance and was reclaimed due to resource expiration.FailedNo
ScheduleFailedThe pod failed to be created. ECI automatically deletes the pod after 24 hours, and you are not charged for the pod.FailedNo
Important

The restart policy applies only to containers within a pod. The pod (elastic container instance) itself does not automatically restart.

The following diagram shows how a pod transitions between statuses during its lifecycle.

Pod lifecycle status transitions
Note
  • When a pod is terminated, its underlying compute resources are recycled. By default, associated resources — such as elastic IP addresses (EIPs) — are released at the same time.

  • Metadata for pods in a terminal status (Succeeded, Failed, or Expired) is retained as follows:

    • All metadata is retained for the first hour after the pod reaches a terminal status.

    • After one hour, only the latest 100 metadata entries per region are kept.

Container statuses

Each container within a pod has its own status, independent of the pod status.

StatusDescription
WaitingThe container is waiting to start. Application containers remain in Waiting while an InitContainer is running, until the InitContainer exits.
RunningThe container is running.
TerminatedThe container has exited, either successfully or due to a failure.