# 2021-03-16-06:44:19+0800 alter configuration of cluster 1371284885024542720

- Cause: Required by customer https://pingcap.zendesk.com/agent/tickets/145
- Operation:

```bash
# take a backup of current tc
kubectl get tc -n ${NS} -o yaml > tc_backup.yaml

# edit target tidbcluster resource
# 1. set `alter-primary-key` to true
# 2. set `apply-pool-size` to 1
kubectl edit tc -n ${NS}


# wait the upgrade complete
kubectl get po -n ${NS} --watch
```

- Impact: the tidb-servers and tikv-servers will be rolling-restarted and use new config
- Recovery Operation: apply the `tc_backup.yaml` back to the cluste
- Time window: 6:50~7:10 CST, Mar 16, 2021
