我要评分
获取效率
正确性
完整性
易理解

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.