Skip to content

Commit

Permalink
update subGroup example fields (#535)
Browse files Browse the repository at this point in the history
Signed-off-by: 覃士林 <qinshilin@kanzhun.com>
  • Loading branch information
Sad-polar-bear committed Nov 9, 2022
1 parent e69d99b commit c0404bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/scheduling-group/subscription-dynamic-dividing.yaml
Expand Up @@ -4,18 +4,18 @@ metadata:
name: dynamic-dividing-scheduling-demo
namespace: default
spec:
schedulingByGroup: true
schedulingBySubGroup: true
subscribers: # defines the clusters to be distributed to
- clusterAffinity:
matchLabels:
region: ap-shanghai
groupStrategy:
pickClustersNum: 1 # the number of pick cluster in every group
subGroupStrategy:
minClusters: 1 # the number of pick cluster in every group
- clusterAffinity:
matchLabels:
region: ap-beijing
groupStrategy:
pickClustersNum: 1 # the number of pick cluster in every group
subGroupStrategy:
minClusters: 1 # the number of pick cluster in every group
schedulingStrategy: Dividing
dividingScheduling:
type: Dynamic
Expand Down

0 comments on commit c0404bf

Please sign in to comment.