Current location - Quotes Website - Signature design - k8s NodeSelector scheduling failed
k8s NodeSelector scheduling failed

From the Events analysis, the scheduler failed to schedule and there was no matching worker node.

At this point, you need to analyze what scheduling method this pod uses. From the above information, we can find that Node-Selectors: run=pro is scheduled using the NodeSelector method, and is scheduled to the node with the label run=pro. Then let's check whether there is label information on the node.

There is no run=pro label on the above node nodes. So we need to add a tag

to view the pods information again.

Display scheduling success