Rate This Document
Findability
Accuracy
Completeness
Readability

Pod Is Always in Pending State

Symptom

The Pod to be deployed is always in the pending state.

Key Process and Cause Analysis

The node label of Kubernetes API server 1.12.2 contains the beta field, for example, beta.kubernetes.io/arch=arm64 and beta.kubernetes.io/os=linux. The label is different from that of the later version.

Conclusion and Solution

Before deploying YAML, check whether the nodeSelector labels are consistent or run the kubectl describe command to check label consistency.