tiinf:
  grpc:
    enable: true
    port: 10000
    withDefault: false
  gin:
    enable: true
    port: 8080
  metrics:
    enable: true
    port: 9090
  trace:
    enable: true
  logger:
    enable: true
    sentryDsn:
    sentryEnv: dev
server:
  cloudProvider: aws
  region: us-east-1
  templatePath: /templates
  image:
    registry: 385595570414.dkr.ecr.us-west-2.amazonaws.com
    repoPrefix: tidbcloud
    slowLogImage: third-party/busybox:1.34.1
    tikvPreStopImage: tidbcloud/tidb-operator-prestop-checker:v2.0.0-beta.3
    clusterAgentImage: tidbcloud/cluster-agent:de7f924ccba77a4597f857e92d6069f1c678b601
    dataCleanerImage: dbaas/aws-shared-provider-datacleaner:6c829a363e2a1d395985b1fac66022ff9d217c28
    auditLogImage: tidbcloud/audit-ng:de4bad162be4bfba06d9852b39dd18e2f4b64bc8
    cassandraProxyImage: ""
    imagePullPolicy: Always
  biz:
    defaultDataplaneAccount: "12345678"
    o11yBizType: dev-tidbcloud-nextgen
    storageSizePolicy:
      tikv:
        data:
          defaultSizeGi: 500
          minSizeGi: 100
          maxSizeGi: 4000
        raftlog:
          defaultSizeGi: 50
          minSizeGi: 20
          maxSizeGi: 500
      tiflashCompute:
        data:
          defaultSizeGi: 500
          minSizeGi: 100
          maxSizeGi: 4000
    disableO11y: false
    endpointDomain: clusters.dev.tidb-cloud.com
    enableHpa: true
    autoscalePolicy:
      # Keep disabled unless all supported single-tenant pools are intentionally activated.
      mode: disabled
      allowAllTenants: false
    kongDataplanePlugins: auth-server
    clusterAgentAudit:
      enabled: false
      storageClass: cloud-ssd
      storageSize: 1Gi
    enableAutoGenNodeSpec: true
    maxTiDBRequestUnit: 300000
  enableRDS: true
  mysql:
    host: mysql_host
    user: admin
    port: 3306
    database: dev_us_east_1_ng
    tlsConfigKey: skip-verify
    logLevel: warn
  enableExecutorGrpc: true
  executorGrpcAddr: executor.cluster-ng-service:10000
  dataPlaneManagerAddr: dataplane-manager.dataplane-manager:10000
  cronJob:
    enableCleanSharedPool: true
    cleanSharedPoolCron: "0 0 */6 * * *"
  ruConfig:
    enableScaleSharedPoolByRu: true
    enableScaleTiDBGroupByRu: true
    nodeCountQuota:
      tikv: 36
      tidb: 12
      pd: 3
      pd_tso: 2
      pd_scheduling: 2
      tiflash_write: 12
      tiflash_compute: 12
      tikv_worker: 15
      coprocessor_worker: 15
      tidb_worker: 15
      tiproxy: 9
      resource_manager: 2
    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
