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
newMS: createMS("ms2", "v2", 1, withStatusReplicas(1), withStatusAvailableReplicas(0)), // one machine created on the new NewMS due to maxSurge, but it is not reaching the available state,
newMS: createMS("ms2", "v2", 1, withStatusReplicas(1), withStatusAvailableReplicas(0)), // one machine created on the new NewMS after scale down on the old MS, but it is not reaching the available state,
485
+
oldMSs: []*clusterv1.MachineSet{
486
+
createMS("ms1", "v1", 2, withStatusReplicas(2), withStatusAvailableReplicas(0)), // OldMS scaled down due to maxUnavailable 1
487
+
},
488
+
expectScaleIntent: map[string]int32{
489
+
// no new scale down intent for oldMSs (ms1): unavailability on new MS
490
+
},
491
+
expectedNotes: map[string][]string{},
492
+
skipMaxUnavailabilityCheck: true, // The test case is simulating all machines not unavailable, so this check will fail
493
+
},
466
494
{
467
495
name: "do not scale down if there are more replicas than minAvailable replicas, but scale down from current reconcile already takes the availability buffer (newMS is scaling down)",
0 commit comments