Error When Executing Cluster Deployment Command

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

Original topic: 执行集群部署命令报错

| username: TiDBer_bOR8eMEn

[Test Environment for TiDB] Testing
[TiDB Version] 5.2.3
Quick Start Guide for TiDB Database | PingCAP Documentation Center


| username: jiayou64 | Original post link

tiup cluster deploy + cluster name (custom) vx.x.x (installed version) ./ **.yaml

| username: srstack | Original post link

The information enclosed in brackets is variable information that needs to be filled in by yourself.

| username: TiDBer_QYr0vohO | Original post link

There are some things you haven’t defined.

| username: lemonade010 | Original post link

The environment variables are not filled in.

| username: Jack-li | Original post link

Of course, it will report an error if you don’t write the variable.

| username: 霸王龙的日常 | Original post link

<cluster-name> and <tidb-version> need to be replaced with actual values.
For example: tiup cluster deploy tidb-dev v5.2.3 ……

| username: Kongdom | Original post link

:yum: Remember to replace the variables in the relevant commands in the example.