You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnasgs, fmt.Errorf("invalid minimum size specified for vmss: %s", err)
674
+
klog.Warningf("ignoring nodegroup %q because of invalid minimum size specified for vmss: %s", *scaleSet.Name, err)
675
+
continue
675
676
}
676
677
} else {
677
-
returnasgs, fmt.Errorf("no minimum size specified for vmss: %s", *scaleSet.Name)
678
+
klog.Warningf("ignoring nodegroup %q because of no minimum size specified for vmss", *scaleSet.Name)
679
+
continue
678
680
}
679
681
ifspec.MinSize<0 {
680
-
returnasgs, fmt.Errorf("minimum size must be a non-negative number of nodes")
682
+
klog.Warningf("ignoring nodegroup %q because of minimum size must be a non-negative number of nodes", *scaleSet.Name)
683
+
continue
681
684
}
682
685
ifval, ok:=scaleSet.Tags["max"]; ok {
683
686
ifmaxSize, err:=strconv.Atoi(*val); err==nil {
684
687
spec.MaxSize=maxSize
685
688
} else {
686
-
returnasgs, fmt.Errorf("invalid maximum size specified for vmss: %s", err)
689
+
klog.Warningf("ignoring nodegroup %q because of invalid maximum size specified for vmss: %s", *scaleSet.Name, err)
690
+
continue
687
691
}
688
692
} else {
689
-
returnasgs, fmt.Errorf("no maximum size specified for vmss: %s", *scaleSet.Name)
693
+
klog.Warningf("ignoring nodegroup %q because of no maximum size specified for vmss", *scaleSet.Name)
694
+
continue
690
695
}
691
696
ifspec.MaxSize<spec.MinSize {
692
-
returnasgs, fmt.Errorf("maximum size must be greater than minimum size")
697
+
klog.Warningf("ignoring nodegroup %q because of maximum size must be greater than minimum size: max=%d < min=%d", *scaleSet.Name, spec.MaxSize, spec.MinSize)
0 commit comments