【问题标题】:OpenShift 3.11 - error 0/23 nodes are available: 16 node(s) didn't match node selector, 7 node(s) didn't have free ports for the requested pod portsOpenShift 3.11 - 错误 0/23 个节点可用:16 个节点与节点选择器不匹配,7 个节点没有用于请求的 pod 端口的空闲端口
【发布时间】:2020-01-16 04:41:32
【问题描述】:

我在 openshift V 3.11 中遇到错误

命名空间事件错误

0/23 nodes are available: 16 node(s) didn't match node selector, 7 node(s) didn't have free ports for the requested pod ports

路由器 pod 错误

E0114 21:53:09.441679       1 limiter.go:137] error reloading router: exit status 1
[WARNING] 013/215308 (54) : Failed to get the number of sockets to be transferred !
[ALERT] 013/215308 (54) : Failed to get the sockets from the old process!

在任何给定时间点,只有一个路由器 pod 存在问题。例如,如果我运行 7 个路由器,则只有 6 个是稳定的,并且一个不断崩溃。如果我将复制更改为 6 5 是 稳定和 1 不断崩溃..

【问题讨论】:

  • 嗨,您是在基础节点类型或计算节点上运行路由器 pod 吗?
  • @SureshVishnoi 计算节点

标签: kubernetes openshift okd


【解决方案1】:

更新以下内容后问题得到解决。

根据redhat的建议...

Scale down the default router and create a new router using 2 threads:
$ oc scale dc/router --replicas=0
$ oc adm router myrouter --threads=2
--images='openshift3/ose-haproxy-router:v3.x'
Set a new thread count (e.g. 7) for the HAproxy router:
$ oc set env dc/myrouter ROUTER_THREADS=7

As per the RedHat suggestion

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-10-15
    • 1970-01-01
    • 2020-07-23
    • 2020-11-21
    • 2022-12-22
    • 1970-01-01
    • 1970-01-01
    • 2022-01-14
    相关资源
    最近更新 更多