When we say pod can be scheduled on specific node.
What exactly do we mean by this?
Node is created first or pod?
Pod is created first or container?
Also, is the node memory CPU allows then pod will be scheduled. If we node CPU is not allowed the will happen to pod created?
Node is created first or pod?
Usually nodes are created first, but in some cases there might not be enough available capacity, and something like an autoscaler will create a new node, leaving the pod “pending” until the new node is ready.
Pod is created first or container?
A container is inside a pod, so this question is sort of ill formed.
If we node CPU is not allowed the will happen to pod created?
I think you are asking what will happen to pods when there is not enough CPU or memory? The scheduler will not assign them to any node - they still exist in the API but are not runnable until capacity becomes available.