Why is the performance of TiDB 4.0 deployed via Docker in a K8S environment low?

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

Original topic: TiDB4.0 docker部署在K8S环境中,性能较低,原因为何?

| username: TiDBer_G64jJ9u8

To improve efficiency, please provide the following information. A clear problem description can lead to a quicker resolution:
【TiDB Usage Environment】

【Overview】 TiDB 4.0 deployed in a K8S environment, select count(*) query

【Background】 Manually continuous select count(*) queries

【Phenomenon】 Continuous queries 10 times, response delay >10s

【Problem】 Response delay in continuous queries

【Business Impact】

【TiDB Version】 4.0

【Application Software and Version】

【Attachments】 Relevant logs and configuration information

| username: songxuecheng | Original post link

K8S configuration, is the PV local SSD or shared, and are there any resource limits, etc.