# 2021-04-16-18:54:08+0800 fix cluster 1379661944579474076 creation

- Cause: address alert https://pingcap.pagerduty.com/incidents/PZYGMPK
- Operation:

```bash
# take a backup of current tc
kubectl get tc -n tidb1379661944579474076 -o yaml > tc_backup.yaml

# stop operator to pause failover process, set replicas to 0
kubectl edit deployment tidb-controller-manager -n tidb-admin

# edit target tidbcluster resource, correct the tidb config and remove tidb failed members
kubectl edit tc -n tidb1379661944579474076

# wait the upgrade complete
kubectl get po -n tidb1379661944579474076 --watch

# resume operator, set replicas to 1
kubectl edit deployment tidb-controller-manager -n tidb-admin
```

- Impact: the cluster creation error will be fixed
- Recovery Operation: apply the `tc_backup.yaml` back to the cluste
- Time window: 18:35~18:40 CST, April 16
