简体   繁体   English

Kubernetes Pod挂起未激活

[英]Kubernetes pods are pending not active

If I run this: 如果我运行此命令:

kubectl get pods -n kube-system

I get this output: 我得到以下输出:

NAME                                    READY     STATUS    RESTARTS   AGE
coredns-6fdd4f6856-6bl64                0/1       Pending   0          1h
coredns-6fdd4f6856-xgrbm                0/1       Pending   0          1h
kubernetes-dashboard-65c76f6c97-c69jg   0/1       Pending   0          13m

supposedly I need a kubernetes scheduler in order to actually launch containers? 据说我需要一个kubernetes调度程序才能真正启动容器? Does anyone know how to initiate a kube-scheduler? 有人知道如何启动kube-scheduler吗?

More than a Kubernetes scheduler issue, it looks like it's more about not having enough resources on your nodes (or no nodes at all) in your cluster to schedule any workloads. 不仅仅是Kubernetes调度程序的问题,它看起来更多的是关于群集中节点(或根本没有节点)上没有足够的资源来调度任何工作负载。 You can check your nodes with: 您可以使用以下方法检查节点:

$ kubectl get nodes

Also, you are not likely able to see any control plane resource on the kube-system namespace because you may be using managed services like EKS or GKE . 另外,您可能看不到kube-system名称空间上的任何控制平面资源,因为您可能正在使用EKSGKE之类的托管服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM