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
少年不识愁滋味,爱上层楼。爱上层楼。为赋新词强说愁。
而今识尽愁滋味,欲说还休。欲说还休。却道天凉好个秋。