mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Remove maximum volume limit comment which is easily outdated.
This commit is contained in:
parent
cd99c63570
commit
a7919225e2
@ -255,7 +255,6 @@ func (pl *nonCSILimits) Filter(ctx context.Context, _ *framework.CycleState, pod
|
|||||||
}
|
}
|
||||||
|
|
||||||
if numExistingVolumes+numNewVolumes > maxAttachLimit {
|
if numExistingVolumes+numNewVolumes > maxAttachLimit {
|
||||||
// violates MaxEBSVolumeCount or MaxGCEPDVolumeCount
|
|
||||||
return framework.NewStatus(framework.Unschedulable, ErrReasonMaxVolumeCountExceeded)
|
return framework.NewStatus(framework.Unschedulable, ErrReasonMaxVolumeCountExceeded)
|
||||||
}
|
}
|
||||||
if nodeInfo != nil && nodeInfo.TransientInfo != nil && utilfeature.DefaultFeatureGate.Enabled(features.BalanceAttachedNodeVolumes) {
|
if nodeInfo != nil && nodeInfo.TransientInfo != nil && utilfeature.DefaultFeatureGate.Enabled(features.BalanceAttachedNodeVolumes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user