### 简易 tidb 集群, 各个组件默认配置
---
generateName: testbed-
resourcePool: arm64
items:
  - name: tc # 资源对象项名称
    type: TIDB_CLUSTER # 资源对象类型
    spec:
      version: "master" # 全局 version 字段，结合 baseImage 使用
      pd:
        replicas: 1
        # 现在构建的镜像尚不支持 multi-arch, arm 版本的镜像和 amd 的是有区别的, 需要注意
        baseImage: hub-new.pingcap.net/qa/pd

        # more refer to: https://github.com/tikv/pd/blob/master/conf/config.toml
        # config is string type and toml format, I prefer uses https://www.convertsimple.com/convert-yaml-to-toml/ to transfer yaml to toml
        config: |
          [log]
          level = "info"
      tidb:
        replicas: 1
        # 现在构建的镜像尚不支持 multi-arch, arm 版本的镜像和 amd 的是有区别的, 需要注意
        baseImage: hub-new.pingcap.net/qa/tidb
        config: |
          [log]
          # Log level: debug, info, warn, error, fatal.
          level = "info"
      tikv:
        replicas: 1
        # 现在构建的镜像尚不支持 multi-arch, arm 版本的镜像和 amd 的是有区别的, 需要注意
        baseImage: hub-new.pingcap.net/qa/tikv
        # storageClassName: fast-disks
        # more refer to: https://github.com/tikv/tikv/blob/master/etc/config-template.toml
        config: |
          ## Log levels: trace, debug, info, warning, error, critical.
          ## Note that `debug` and `trace` are only available in development builds.
          log-level = "info"
          [storage]
          reserve-space = "0MB"
      monitor:
          initializer:
            baseImage: hub-new.pingcap.net/qa/monitoring
            version: master
