Skip to content

Commit

Permalink
Merge pull request #5841 from LavredisG/patch-4
Browse files Browse the repository at this point in the history
Update group_clusters.go
  • Loading branch information
karmada-bot authored Nov 20, 2024
2 parents 6795dba + ff92a84 commit c950edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/core/spreadconstraint/group_clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (info *GroupClustersInfo) calcGroupScore(
// Here is an example, the rbSpec.Replicas == 100 and the Group.minGroups == 2, Cluster.minGroups == 1.
// Thus, the targetReplica is 50, and the int64ClusterMinGroups == 2, because int64ClusterMinGroups == max(Group.minGroups, Cluster.minGroups).

// There is the Group 1, it has three clusters as follows.
// There is the Group 1, it has five clusters as follows.
// ----------------------------------------------------------------------
// | clusterName | member1 | member2 | member3 | member4 | member5 |
// |---------------------------------------------------------------------
Expand Down Expand Up @@ -294,7 +294,7 @@ func (info *GroupClustersInfo) calcGroupScore(
// There is another example, the targetReplica is 50, and the int64ClusterMinGroups == 2.
// The difference now is the situation of the Groups; both Groups now meet the requirements for available replica capacity.

// There is the Group 1, it has three clusters as follows.
// There is the Group 1, it has five clusters as follows.
// ----------------------------------------------------------------------
// | clusterName | member1 | member2 | member3 | member4 | member5 |
// |---------------------------------------------------------------------
Expand Down

0 comments on commit c950edd

Please sign in to comment.