# 2021-03-15-10:48:19+0800 upgrade_monitor_of_1371284885024542720

- Cause: To resolve alert https://pingcap.pagerduty.com/incidents/PZGQPPZ
- Operation:

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

# edit target tidbmonitor resource, set image tag to v4.0.9
kubectl edit tidbmonitor -n ${NS}

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

- Impact: Monitor pod will be restarted and upgraded
- Recovery Operation: apply the `monitor_backup.yaml` back to the cluste
- Time window: 11:00~11:30 CST, 2021 Mar 15
