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
to enable scaling a MachinePool to zero, an empty or not set
providerIDList should be considered valid.
additionally, Replicas 0 of the infrastructure MachinePool should also
be considered valid.
return ctrl.Result{}, errors.Wrapf(err, "failed to retrieve data from infrastructure provider for MachinePool %q in namespace %q", mp.Name, mp.Namespace)
279
-
} elseiflen(providerIDList) ==0 {
280
-
log.Info("Retrieved empty Spec.ProviderIDList from infrastructure provider")
return ctrl.Result{}, errors.Wrapf(err, "failed to retrieve replicas from infrastructure provider for MachinePool %q in namespace %q", mp.Name, mp.Namespace)
289
286
}
290
-
} elseifmp.Status.Replicas==0 {
291
-
log.Info("Retrieved unset Status.Replicas from infrastructure provider")
0 commit comments