Closed venkatvghub closed 4 years ago
Now , we support tikv mount multiple pv, ref: https://github.com/pingcap/tidb-operator/blob/master/examples/multiple-pv-tikv/tidb-cluster.yaml. Pd and tidb nodetype are calculation types, do they need to support this function?
And I have submitted storageVolumes PR for PD and TIDB.
Feature Request
Is your feature request related to a problem? Please describe:
Currently, in a cloud environment with tidb running on kubernetes, the logs are getting printed to stdout. In general, increased log volume poses significant IOPS issues in certain cloud environments. Esp, since the stdout is mapped to root volumes and in homogeneous infrastructure, doing specific IOPS provisioning of these nodes becomes challenging. In essence, we would need a way to do 2 things:
Describe the feature you'd like:
A kubernetes config for tidb sts typically looks like the following:
We would like to attach a PV to the tidb sts to actually mount
/var/log/tidb
path to the PV in the above example. The current tidb crds or operator doesn't have this option. Ref: https://tidbcommunity.slack.com/archives/CH7TTLL7P/p1603954421124000 Describe alternatives you've considered:info
towarn
, but that only looks like postphoning the problem, in case the warn logs increase.Teachability, Documentation, Adoption, Migration Strategy:
storageclassName
andstorageclassClaims
.