Merge pull request #129145 from ialidzhikov/fix/confusing-err-message

kube-scheduler: Fix a misleading error message in the VolumeRestrictions plugin
This commit is contained in:
Kubernetes Prow Robot
2025-04-23 13:30:45 -07:00
committed by GitHub

View File

@@ -54,8 +54,8 @@ const (
// ErrReasonDiskConflict is used for NoDiskConflict predicate error.
ErrReasonDiskConflict = "node(s) had no available disk"
// ErrReasonReadWriteOncePodConflict is used when a pod is found using the same PVC with the ReadWriteOncePod access mode.
ErrReasonReadWriteOncePodConflict = "node has pod using PersistentVolumeClaim with the same name and ReadWriteOncePod access mode"
// ErrReasonReadWriteOncePodConflict is used when a PVC with ReadWriteOncePod access mode is already in-use by another pod.
ErrReasonReadWriteOncePodConflict = "node(s) unavailable due to PersistentVolumeClaim with ReadWriteOncePod access mode already in-use by another pod"
)
// preFilterState computed at PreFilter and used at Filter.