pingcap / docs-tidb-operator

Documentation for TiDB on Kubernetes. TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://docs.pingcap.com/tidb-in-kubernetes
Other
47 stars 120 forks source link

Add procedure about how to delete a TiKV Pod and make it join the cluster as a new store #1401

Closed DanielZhangQD closed 2 years ago

DanielZhangQD commented 3 years ago

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!

  1. Describe what you find is inappropriate or missing in the existing docs.
  1. Describe your suggestion or addition.

  2. Provide some reference materials (documents, websites, etc) if you could.

DanielZhangQD commented 2 years ago

Please also cover the following case:

  1. If indeed need to replace the nodes and EBS 3.1 Scale out new nodes that in the same AZ with the ones to be replaced 3.2 Cordon the old nodes 3.3 Delete the stores with pd-ctl, wait for the stores to become tombstone 3.4 Delete the PVC 3.5 Delete the Pod, check that the Pods are scheduled to the new Nodes 3.6 Delete the old nodes