Why kubectl get pods displays the following error "API error (500): No command specified" ?
Issue
kubernetes API error (500): No command specified
message is noticed while executing the commandkubectl get pods
. The pod never gets scheduled
[root@XXX ~]# kubectl get pod
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS CREATED MESSAGE
db-controller-q7h3b 10.20.79.5 X.X.X.X/X.X.X.X name=db,selectorname=db Pending 7 days db dbforweb Waiting API error (500): No command specified
Environment
- Red Hat Enterprise Linux 7.1
- kubernetes-master-0.17.1-4.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.