编程语言
首页 > 编程语言> > nodeslector使用

nodeslector使用

作者:互联网

问题: 

node节点挂了一个, 无法切换到另一个node上


解决:

1、指定了 nodeslector



2、设置了下面:


hostNetwork: true
      dnsPolicy: ClusterFirstWithHostNet


关掉就可以,一般不用这个


报错:

一直处于pending状态

Warning  FailedScheduling  19s (x238 over 20m)  default-scheduler  0/3 nodes are available: 
1 node(s) didn't have free ports for the requested pod ports, 1 node(s) had taints that the pod didn't tolerate, 1 node(s) were not ready,
 1 node(s) were out of disk space.

 

标签:node,nodeslector,didn,were,使用,pod,ports
来源: https://www.cnblogs.com/effortsing/p/10357441.html