github.com/argoproj/argo-cd/v2@v2.10.9/applicationset/examples/clusterDecisionResource/placementdecision.yaml (about)

     1  ---
     2  apiVersion: apps.open-cluster-management.io/v1
     3  kind: PlacementRule
     4  metadata:
     5    name: test-placement
     6  spec:
     7    clusterReplicas: 1   # Availability choice, maximum number of clusters to provision at once
     8    clusterSelector:
     9      matchLabels:
    10        'usage': 'development'
    11    clusterConditions:
    12      - type: ManagedClusterConditionAvailable
    13        status: "True"
    14  # Below is sample output the generator can consume.
    15  status:
    16    decisions:
    17    - clusterName: cluster-01
    18    - clusterName: cluster-02