Retry scheduling on various events.

This commit is contained in:
Yecheng Fu
2018-07-20 09:53:53 +08:00
parent c861ceb41a
commit 8f0373792f
3 changed files with 75 additions and 1 deletions

View File

@@ -151,7 +151,7 @@ func (b *volumeBinder) FindPodVolumes(pod *v1.Pod, node *v1.Node) (unboundVolume
// Immediate claims should be bound
if len(unboundClaimsImmediate) > 0 {
return false, false, fmt.Errorf("pod has unbound PersistentVolumeClaims")
return false, false, fmt.Errorf("pod has unbound immediate PersistentVolumeClaims")
}
// Check PV node affinity on bound volumes