Can I upgrade only the PD and TiKV components in the cluster using tiup cluster upgrade, without upgrading other services?

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 请问使用tiup cluster upgrade升级集群,是否可以只升级集群中的pd和tikv,其他的服务不升级

| username: TiDBer_nXXIyPM5

[TiDB Usage Environment] Production
[TiDB Version] 4.0.11
[Encountered Problem: Phenomenon and Impact]
Since the online environment did not use the standard ansible installation method to install TiDB, only TiKV and PD were deployed online. I want to upgrade directly to version 6.1.2 through tiup. By modifying the relevant parameters of tidb-ansible, TiKV and PD have been included in the management of tiup. Since exporter and prometheus were not deployed, the service failed to restart when upgrading the cluster using tiup cluster upgrade. The version of the cluster did not change, but TiKV and PD were successfully upgraded. The ideal situation now is to upgrade only TiKV and PD when upgrading the cluster using tiup cluster upgrade, ignoring exporter and prometheus. Is there any way to achieve this?
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]

| username: WalterWj | Original post link

  # # The ip address of the TiDB Server.
  - host: xx
    port: 4000
    status_port: 10080
    ignore_exporter: true

If you don’t need to install the exporter, configure it under the host of all components.
Manually edit the meta file under .tiup.

| username: TiDBer_nXXIyPM5 | Original post link

Thank you, I’ll give it a try.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.