pingcap / pingcap/tiup

Support scale instance via command line instead of the configuration file

Open
#532 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/TODO type/feature-request
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Feature Request

Currently, we must provide a configuration file scale-out.yaml to scale our cluster, it's better to support scale instance via command line instead of the configuration file.

e.g:

$ tiup cluster scale-out <cluster-name> --type tidb --host 1.2.3.4 --port 4000 --status-port 10081 --config a.b.c=x --config a.b.d=y

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tiup cluster scale-out command and its handling of scale-out.yaml; trace how instance arguments and repeated --config values are processed. Match the requested command shape and add coverage showing that scaling can run without a configuration file.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.