This repository was archived by the owner on Apr 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -980,6 +980,20 @@ desired by user preferences), which apparently is the only mechanism to check if
980980this cluster has capacity now. The `spec.rebalance` should not be used if this
981981behaviour is unacceptable.
982982
983+ By default, RSP placement scheduling result overwrites the clusters list in the
984+ ` spec.placement.clusters` of the target resource. However, the federated resources
985+ can use `spec.placement.clusterSelector` to select target clusters dynamically for
986+ resource propagation. When the RSP placement scheduling result is determined, the
987+ federated resource may need to apply its cluster selector at the same time to get
988+ the result clusters instead of override.
989+
990+ If `intersectWithClusterSelector` is set to true, the placement of target kind will
991+ be determined using the instersection of RSP placement scheduling result and the
992+ ` spec.placement.clusterSelector` specified on the target kind. For example, a
993+ ` FederatedDeployment` specifies a `clusterSelector` and chooses clusters `A`, `B`
994+ and `C`. The corresponding RSP defines clusters `C` and `D`. The final placement
995+ decision is `C` if `intersectionWithClusterSelector` is defined in the RSP.
996+
983997The RSP can be considered as more user friendly mechanism to distribute the
984998replicas, where the inputs needed from the user at federated control plane are
985999reduced. The user only needs to create the RSP resource and associated federated
You can’t perform that action at this time.
0 commit comments