I am able to create deployment from yaml file. But nodes are not getting created

#1

Cluster information:

Kubernetes version: 1.14
Cloud being used: (put bare-metal if not on a public cloud) baremetal
Installation method:
Host OS: centos 7
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

[root@kube-master ~]# kubectl get deploy 
NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
nginx-deployment-shiva2   0/3     0            0           18h

[root@kube-master ~]# kubectl get pods
No resources found.
0 Likes

#2

Try kubectl describe deployment, it will probably tell you if there is no capacity in the cluster or why pods are failing.

0 Likes

#3

Hopefully that is enough to understand what is happening :slight_smile:

0 Likes