k8s报错信息-节点选择器不匹配

Events:
  Type     Reason            Age                From                Message
  ----     ------            ----               ----                -------
  Warning  FailedScheduling  <unknown>          default-scheduler   0/3 nodes are available: 1 Insufficient memory, 3 node(s) didn't match node selector.
  Warning  FailedScheduling  <unknown>          default-scheduler   0/3 nodes are available: 1 Insufficient memory, 3 node(s) didn't match node selector.

此次原因:在prometheus-blackbox-exporter部署时,使用了nodeSelector,找不到对应label的node
解决方法:修改deploy中nodeSelector或者给node加上label

posted @ 2020-03-10 19:53  薄荷少年郎微微凉  阅读(4267)  评论(0编辑  收藏  举报