简体   繁体   English

为什么 openwhisk kube.netes pods 状态在 linux 中是挂起的?

[英]Why does openwhisk kubernetes pods status is pending in linux?

I have implemented openwhisk using kube.netes in Windows operating system.我已经在 Windows 操作系统中使用 kube.netes 实现了 openwhisk。 The same thing I needs to implement in Linux. I followed following document to implement in Linux. https://medium.com/@ansjin/openwhisk-deployment-on-a-kube.netes-cluster-7fd3fc2f3726 .我需要在 Linux 中实施同样的事情。我按照以下文档在 Linux 中实施。https://medium.com/@ansjin/openwhisk-deployment-on-a-kube.netes-cluster-7fd3fc2f3726 But when I try to get all pods details but openwhisk pods status is in pending only.但是,当我尝试获取所有 pod 详细信息时,openwhisk pod 状态仅处于待定状态。

在此处输入图像描述

How to up these pods?如何启动这些 pod?

It looks to me like something is going wrong with your Kube.netes/flannel installation.在我看来,您的 Kube.netes/flannel 安装出了点问题。 Kube.netes won't create new pods until it can assign the pod IPs properly, so the CNI that you use (in your case, flannel) needs to be working properly before OpenWhisk (or other applications) can be deployed. Kube.netes 在可以正确分配 pod IP 之前不会创建新的 pod,因此您使用的 CNI(在您的情况下是 flannel)需要在部署 OpenWhisk(或其他应用程序)之前正常工作。

If you investigate the flannel-ds pod with the CrashLoopBackOff and also try to figure out why the coredns pods haven't finished creating, that would be a good place to start debugging.如果您使用 CrashLoopBackOff 调查 flannel-ds pod 并尝试找出 coredns pod 尚未完成创建的原因,那么这将是开始调试的好地方。

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

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