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
// This should not happen as we already checked in setPlacementStatus.
1002
+
err:=controller.NewUnexpectedBehaviorError(fmt.Errorf("selected cluster list is empty for placement %s when checking per-cluster rollout state", crp.Name))
1003
+
klog.ErrorS(err, "Should not happen: selected cluster list is empty in determineRolloutStateForCRPWithExternalRolloutStrategy()")
// If clusters observe different resource snapshot versions, we set RolloutStarted condition to Unknown.
1018
+
// ObservedResourceIndex and selectedResources are reset, too.
1019
+
klog.V(2).InfoS("Placement has External rollout strategy and different resource snapshot versions are observed across clusters, set RolloutStarted condition to Unknown", "clusterResourcePlacement", klog.KObj(crp))
// All bindings have empty resource snapshot name, we set the rollout condition to Unknown.
1039
+
// ObservedResourceIndex and selectedResources are reset, too.
1040
+
klog.V(2).InfoS("Placement has External rollout strategy and no resource snapshot name is observed across clusters, set RolloutStarted condition to Unknown", "clusterResourcePlacement", klog.KObj(crp))
Message: "Rollout is controlled by an external controller and no resource snapshot name is observed across clusters, probably rollout has not started yet",
1048
+
ObservedGeneration: crp.Generation,
1049
+
})
1050
+
// As CRP status will refresh even if the spec has not changed, we reset any unused conditions
klog.V(2).InfoS("Placement has External rollout strategy and some cluster is in RolloutStarted Unknown state, set RolloutStarted condition to Unknown",
0 commit comments