Closed DanielZhangQD closed 2 years ago
For PD, you have to force upgrade it following the doc https://docs.pingcap.com/tidb-in-kubernetes/dev/upgrade-a-tidb-cluster#force-an-upgrade-of-tidb-cluster-using-tidbcluster-cr when you have to recover from the debug mode. So to stop multiple components, the order should be:
To recover:
It's unsupported to stop the components temporarily by debug mode, so just add a tip to stop a Pod temporarily.
Change Request
This repository is ONLY used to solve issues related to TiDB Operator documentation. For other issues (related to TiDB, PD, etc), please move to other repositories.
Please answer the following questions before submitting your issue. Thanks!
Describe what you find is inappropriate or missing in the existing docs. Sometimes users want to stop the TiDB components temporarily, we can leverage the
runmode: debug
annotation to do this, we can add a new section in the doc https://docs.pingcap.com/tidb-in-kubernetes/dev/tips. The annotation can be configured inspec.annotations
orspec.xx.annotations
, please note that only support for PD, TiKV, and TiDB now.Describe your suggestion or addition.
Provide some reference materials (documents, websites, etc) if you could.