<p>My pods are staying in Pending state, as all the answers mentioned I tried to get describe output but no idea about why it is staying in Pending state:</p>

<pre><code>k8s@k8s-master:~/deployment$ kubectl get nodes
NAME         STATUS   ROLES    AGE   VERSION
k8s-master   Ready    master   12d   v1.12.2
k8s-node-1   Ready    &lt;none&gt;   12d   v1.12.2
k8s-node-2   Ready    &lt;none&gt;   12d   v1.12.2

k8s@k8s-master:~/deployment$ kubectl get pods           
NAME        READY   STATUS    RESTARTS   AGE
nginx       0/1     Pending   0          62m
webserver   0/1     Pending   0          13m


k8s@k8s-master:~/deployment$ kubectl describe pod webserver
Name:               webserver
Namespace:          default
Priority:           0
PriorityClassName:  &lt;none&gt;
Node:               &lt;none&gt;
Labels:             creator=rithin
Annotations:        &lt;none&gt;
Status:             Pending
IP:                 
Containers:
  apache:
    Image:        httpd
    Port:         &lt;none&gt;
    Host Port:    &lt;none&gt;
    Environment:  &lt;none&gt;
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-vdpls (ro)
Volumes:
  default-token-vdpls:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-vdpls
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  &lt;none&gt;
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:          &lt;none&gt;
</code></pre>

<p>Already tried describing the pods, but no info</p>

Rithin Skaria
<p>Your pods require manual scheduling. 
In your yaml file for the pods add 
<code>nodeName: k8s-master</code>
at the same level of containers under spec.</p>

<p>Your pods would be scheduled at the k8s-master node. If you want to schedule it in any other node, replace "k8s-master" with the appripriate node name.</p>
