tiinf:
  localMode: true
  grpc:
    enable: true
    port: 10002
    withDefault: false
  gin:
    enable: false
  metrics:
    enable: true
    port: 19092
  logger:
    enable: true
    sentryDsn: ""
    sentryEnv: local-dev

server:
  cloudProvider: aws
  region: local-dev
  templatePath: ./deployments/templates
  dev:
    mockConfigCenter: true
  image:
    registry: docker.io
    repoPrefix: pingcap
    imagePullPolicy: IfNotPresent
    slowLogImage: busybox:1.34.1
    tikvPreStopImage: pingcap/tidb-operator-prestop-checker:v2.1.0-alpha.15
    clusterAgentImage: tidbcloud/cluster-agent:latest
    dataCleanerImage: tidbcloud/datacleaner:latest
    auditLogImage: tidbcloud/audit-ng:latest
  biz:
    defaultDataplaneAccount: "000000000000"
    o11yBizType: local-dev
    disableO11y: true
    enableHpa: false
    enableAutoGenNodeSpec: false
    maxTiDBRequestUnit: 300000
  mysql:
    host: 127.0.0.1
    port: 3306
    user: root
    password: ""
    database: dev_local_ng
    tlsConfigKey: skip-verify
    logLevel: info
  dataPlaneManagerAddr: 127.0.0.1:10001
  controlPlaneMetering:
    enable: false
    type: localfs
    prefix: /tmp/metering/controlplane
  dataPlaneMetering:
    enable: false
    type: localfs
    prefix: /tmp/metering/dataplane
  ruConfig:
    enableScaleSharedPoolByRu: false
    enableScaleTiDBGroupByRu: false
    nodeCountQuota:
      tikv: 1
      tidb: 1
      pd: 1
      pd_tso: 1
      pd_scheduling: 1
      tiflash_write: 0
      tiflash_compute: 0
      tikv_worker: 1
      coprocessor_worker: 1
      tidb_worker: 1
      tiproxy: 1
      resource_manager: 1
    components:
      tikv:
        8c16g:
          min: 0
          max: 50000
        8c32g:
          min: 50000
          max: 200000
        16c64g:
          min: 200000
      tikv_worker:
        8c16g:
          min: 0
      coprocessor_worker:
        8c16g:
          min: 0
          max: 200000
        16c32g:
          min: 200001
      tidb:
        4c8g:
          min: 0
          max: 50000
        8c16g:
          min: 50001
          max: 200000
        16c32g:
          min: 200001
      tidb_worker:
        4c8g:
          min: 0
          max: 50000
        8c16g:
          min: 50000
      pd:
        4c8g:
          min: 0
          max: 200000
        8c16g:
          min: 200000
        16c32g:
          min: 540000
      pd_tso:
        4c8g:
          min: 0
      pd_scheduling:
        4c8g:
          min: 0
      tiflash_write:
        2c8g:
          min: 0
      tiflash_compute:
        2c8g:
          min: 0
      tiproxy:
        2c8g:
          min: 0
          max: 50000
        4c8g:
          min: 50000
          max: 200000
        8c16g:
          min: 200000
      resource_manager:
        2c4g:
          min: 0
