Skip to content

Commit c4057e0

Browse files
authored
Update the command of upgrading monitoring services (#17816) (#17827)
1 parent 6c38625 commit c4057e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

upgrade-monitoring-services.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Download a new installation package from the [Prometheus download page](https://
5959
Execute the following command to upgrade Prometheus:
6060
6161
```bash
62-
tiup cluster patch <cluster-name> prometheus-v{new-version}.tar.gz -R prometheus
62+
tiup cluster patch <cluster-name> prometheus-v{new-version}.tar.gz -R prometheus --overwrite
6363
```
6464

6565
After the upgrade, you can go to the home page of the Prometheus server (usually at `http://<Prometheus-server-host-name>:9090`), click **Status** in the top navigation menu, and then open the **Runtime & Build Information** page to check the Prometheus version and confirm whether the upgrade is successful.
@@ -108,7 +108,7 @@ In the following upgrade steps, you need to download the Grafana installation pa
108108
Execute the following command to upgrade Grafana:
109109
110110
```bash
111-
tiup cluster patch <cluster-name> grafana-v{new-version}.tar.gz -R grafana
111+
tiup cluster patch <cluster-name> grafana-v{new-version}.tar.gz -R grafana --overwrite
112112
113113
```
114114

@@ -127,7 +127,7 @@ Download the `alertmanager` installation package from the [Prometheus download p
127127
Execute the following command to upgrade Alertmanager:
128128

129129
```bash
130-
tiup cluster patch <cluster-name> alertmanager-v{new-version}-linux-amd64.tar.gz -R alertmanager
130+
tiup cluster patch <cluster-name> alertmanager-v{new-version}-linux-amd64.tar.gz -R alertmanager --overwrite
131131
```
132132

133133
After the upgrade, you can go to the home page of the Alertmanager server (usually at `http://<Alertmanager-server-host-name>:9093`), click **Status** in the top navigation menu, and then check the Alertmanager version to confirm whether the upgrade is successful.

0 commit comments

Comments
 (0)