generateName: testbed-py-
resourcePool: eks-amd64-default # NOTE: use corresponding resourcePool
items:
  - name: tc
    type: TIDBCLOUD_CLUSTER
    spec:
      # fill in your account email, orgID & projectID
      accountEmail: "chenhuansheng@pingcap.com"
      orgID: "1369847559691367379"
      projectID: "1369847559691427545"
      # only support aws now
      provider: "aws"
      # connect to tidbcloud cluster: standard | vpc-peering
      connect: "vpc-peering" # 走 vpc peering 连接, 用于最终执行计划上线时使用。在本地调试时请选择 standard
      # connect: "standard" # # 走公网直连海外, 有打满专线带宽的风险, 仅限制调试用。
      # password must be 8-64 characters
      password: ""
      tidb:
        # replicas should >= 1
        replicas: 1
        nodeProfileName: 4 vCPU, 16 GiB
      tikv:
        # replicas should >= 3
        replicas: 3
        nodeProfileName: 8 vCPU, 16 GiB
        storageSizeGi: 200
      clusterConfig:
        tikv:
          config: |
            ## Log levels: trace, debug, info, warning, error, critical.
            ## Note that `debug` and `trace` are only available in development builds.
            log-level = "info"
  - name: toolset
    type: WORKLOAD_NODE
    spec:
      container:
        name: go-tpc
        image: 946646677266.dkr.ecr.us-west-2.amazonaws.com/perf_testing/bench-toolset
        command:
          - tail
          - "-f"
          - "/dev/null"
        resources:
          requests:
            memory: 128Mi
            cpu: 1000m
