apiVersion: portworx.io/v1beta2
kind: VolumePlacementStrategy
metadata:
  name: ssd-sata-pool-placement-spread
spec:
  replicaAffinity:
    # First replica in SSD
    - affectedReplicas: 1
      matchExpressions:
        - key: mediatype
          operator: In
          values:
            - "SSD"
    # Second replica in SATA
    - affectedReplicas: 1
      matchExpressions:
        - key: mediatype
          operator: In
          values:
            - "SATA"
