generateName: xd-br-pitr-
items:
    -   name: upstream
        type: TIDB_CLUSTER
        spec:
            version: master
            pd:
                replicas: 1
                baseImage: hub-new.pingcap.net/qa/pd
                config: |
                    replication.max-replicas = 1
                requests:
                    cpu: 1000m
                    memory: 4Gi
                limits:
                    cpu: 1000m
                    memory: 4Gi
            tikv:
                replicas: 3
                baseImage: hub.pingcap.net/qa/log-backup-new-checkpoints
                version: latest
                storageClassName: fast-disks
                config: |
                    [log-backup]
                    enable = true
                requests:
                    cpu: 3000m
                    memory: 12Gi
                limits:
                    cpu: 3000m
                    memory: 12Gi
            tidb:
                replicas: 1
                baseImage: hub-new.pingcap.net/qa/tidb
                config: |
                    performance.txn-total-size-limit = 10737418240
                    performance.max-txn-ttl = 6000000
                requests:
                    cpu: 3000m
                    memory: 12Gi
                limits:
                    cpu: 3000m
                    memory: 12Gi
    -   name: downstream
        type: TIDB_CLUSTER
        spec:
            version: master
            pd:
                replicas: 1
                baseImage: hub-new.pingcap.net/qa/pd
                config: |
                    replication.max-replicas = 1
                requests:
                    cpu: 1000m
                    memory: 4Gi
                limits:
                    cpu: 1000m
                    memory: 4Gi
            tikv:
                replicas: 3
                baseImage: hub-new.pingcap.net/qa/tikv
                storageClassName: fast-disks
                config: |
                    [log-backup]
                    enable = true
                requests:
                    cpu: 2000m
                    memory: 8Gi
                limits:
                    cpu: 2000m
                    memory: 8Gi
            tidb:
                replicas: 1
                baseImage: hub-new.pingcap.net/qa/tidb
                config: |
                    performance.txn-total-size-limit = 10737418240
                    performance.max-txn-ttl = 6000000
                requests:
                    cpu: 3000m
                    memory: 8Gi
                limits:
                    cpu: 3000m
                    memory: 8Gi
    -   name: br
        type: WORKLOAD_NODE
        spec:
            container:
                name: br
                image: hub.pingcap.net/qa/log-backup-new-checkpoints-br
                version: 6.1.0-pitr-dev-20220621
                command:
                    - tail
                    - "-f"
                    - "/dev/null"
                resources:
                    limits:
                        cpu: 1000m
                        memory: 2Gi
    -   name: mc
        type: WORKLOAD_NODE
        spec:
            container:
                name: loader
                image: hub-new.pingcap.net/qa/tools-with-mc:amd64
                command:
                    - tail
                    - "-f"
                    - "/dev/null"
                resources:
                    limits:
                        cpu: 1000m
                        memory: 2Gi
    -   name: workload
        type: WORKLOAD_NODE
        spec:
            container:
                name: bigtx
                image: hub.pingcap.net/qa/dp-workloads
                command:
                    - tail
                    - "-f"
                    - "/dev/null"
                resources:
                    limits:
                        cpu: 2000m
                        memory: 8Gi
    -   name: syncdiff
        type: WORKLOAD_NODE
        spec:
            container:
                name: syncdiff
                image: pingcap/tidb-enterprise-tools:nightly
                command:
                    - tail
                    - "-f"
                    - "/dev/null"
                resources:
                    limits:
                        cpu: 2000m
                        memory: 4Gi