mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 06:13:54 +00:00
This change will make the message more clear when there is a case of PVC(s) bound to PV(s) that no longer exists and scheduler does not select the node due to this issue. Previous error message would look like: 0/2 nodes are available: 2 pvc(s) bound to non-existent pv(s) Updated message looks like: 0/2 nodes are available: 2 node(s) unavailable due to one or more pvc(s) bound to non-existent pv(s) For larger clusters with many different reasons of nodes that are not available, the current message can be very misleading for users to think that there are many PVCs lost due to PVs deleted but in fact it could be just a single PVC case but many nodes not selected by the scheduler due to this case. Signed-off By: Yibo Zhuang <yibzhuang@gmail.com>