我在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
路由器吊舱错误
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!
在任何给定的时间点,只有一个路由器容器出现问题。例如,如果我运行7路由器,则只有6个是稳定的,而一个则不断崩溃。如果我将复制更改为6 5是 稳定且1不断崩溃。.
答案 0 :(得分:0)
更新以下内容后,问题已解决。
根据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