What value does the storage capacity of the PD component take?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: pd组件storage capacity是取的什么值

| username: liyuntang

[TiDB Usage Environment] Test Environment
[TiDB Version] v5.4.1

How should the displayed 466GB be understood here? Is it the available storage space of the PD component or the used storage space? The disk space configuration for PD in the configuration file is far less than this. The configuration is as follows:

pd:
  limits:
    cpu: "1"
    memory: 2Gi
    storage: 10Gi
  requests:
    cpu: "1"
    memory: 2Gi
    storage: 10Gi

tidb:
  limits:
    cpu: "1"
    memory: 2Gi
    storage: 10Gi
  requests:
    cpu: "1"
    memory: 2Gi
    storage: 10Gi

tikv:
  limits:
    cpu: "2"
    memory: 2Gi
    storage: 10Gi
  requests:
    cpu: "2"
    memory: 2Gi
    storage: 10Gi

version: v5.4.1
| username: tidb菜鸟一只 | Original post link

The storage capacity of the PD component is taken from the disk capacity on the TiKV nodes, which is the capacity parameter in the TiKV configuration file. If the capacity parameter is not configured, PD will use the system disk capacity as the default value.

| username: liyuntang | Original post link

Got it, thanks.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.