mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
commit
9801572181
@ -400,6 +400,10 @@ func (sched *Scheduler) bindVolumes(assumed *v1.Pod) error {
|
||||
klog.Errorf("scheduler cache ForgetPod failed: %v", forgetErr)
|
||||
}
|
||||
|
||||
// Volumes may be bound by PV controller asynchronously, we must clear
|
||||
// stale pod binding cache.
|
||||
sched.config.VolumeBinder.DeletePodBindings(assumed)
|
||||
|
||||
reason = "VolumeBindingFailed"
|
||||
eventType = v1.EventTypeWarning
|
||||
sched.config.Error(assumed, err)
|
||||
|
Loading…
Reference in New Issue
Block a user