If a workload is abnormal, you can check the pod events first to locate the fault and then rectify the fault.

View pod events to identify the cause. Refer to Viewing Pod Events for the appropriate solution based on the specific event.
The pod statuses listed in the table below are obtained from the STATUS field in the output of kubectl get pod.
STATUS is a more granular status generated by kubectl based on state.Phase, state.Conditions, and status.ContainerStatuses.
Pod Status | Description | Reference |
|---|---|---|
Pending | The pod failed to schedule. | |
Pending | A storage volume failed to mount to the pod. | What Should I Do If a Storage Volume Can't Be Mounted or the Mounting Times Out? |
FailedPullImage ImagePullBackOff | The container image failed to pull. The container image failed to pull again. | |
CreateContainerError CrashLoopBackOff | The container failed to start. The container failed to restart. | |
Evicted | The pod is repeatedly evicted. | |
Creating | The pod is stuck in the Creating state. | What Should I Do If a Workload Remains in the Creating State? |
Terminating | The pod is stuck in the Terminating state. | |
Stopped | The pod is in the Stopped state. | What Should I Do If a Workload Is Stopped Caused by Pod Deletion? |
If the workload is running but inaccessible, perform the following troubleshooting steps:
Method 1
On the CCE console, click the workload name to go to the workload details page, locate the row containing the abnormal pod, and choose More > View Events in the Operation column.
Method 2
Use the kubectl command:
kubectl describe pod {pod-name}
Information similar to the following is displayed:
...Events:Type Reason Age From Message---- ------ ---- ---- -------Warning FailedScheduling 49s default-scheduler 0/2 nodes are available: 2 Insufficient cpu.Warning FailedScheduling 49s default-scheduler 0/2 nodes are available: 2 Insufficient cpu.