diff --git a/pkg/solver/matcher/match.go b/pkg/solver/matcher/match.go index cdad6b55..3ff04c15 100644 --- a/pkg/solver/matcher/match.go +++ b/pkg/solver/matcher/match.go @@ -292,6 +292,13 @@ func matchOffers( } } + if resourceOffer.Spec.Disk < jobOffer.Spec.Disk { + return &diskSpaceMismatch{ + jobOffer: jobOffer, + resourceOffer: resourceOffer, + } + } + moduleID, err := data.GetModuleID(jobOffer.Module) if err != nil { return &moduleIDError{