diff --git a/en/exceptions.md b/en/exceptions.md index fdc1a05ce..6cfdcc383 100644 --- a/en/exceptions.md +++ b/en/exceptions.md @@ -52,7 +52,7 @@ Normally, when a TiKV Pod is in a healthy state (`Running`), the corresponding T {{< copyable "shell-regular" >}} ```shell - kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${release_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}} + kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${release_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}}' ``` 2. Remove the PVC used by the Pod: diff --git a/zh/exceptions.md b/zh/exceptions.md index 46ba196f6..de2ced2ba 100644 --- a/zh/exceptions.md +++ b/zh/exceptions.md @@ -52,7 +52,7 @@ summary: 介绍 TiDB 集群运行过程中常见异常以及处理办法。 {{< copyable "shell-regular" >}} ```shell - kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${cluster_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}} + kubectl patch $(kubectl get pv -l app.kubernetes.io/instance=${cluster_name},tidb.pingcap.com/store-id=${store_id} -o name) -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}}' ``` 2. 删除 Pod 使用的 PVC: