tiup cluster edit-config 增加 server_configs 模板
Open
Nobody has claimed this yet.
status/TODO
type/enhancement
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
现在当没有自定以 server_configs 的时候,tiup cluster edit-config 不会显示 server_configs 以及里面的内容:
希望在没有配置 server_configs 的时候,有类似效果,预留栏位:
monitored:
...
server_configs:
tidb: {}
tikv: {}
pd: {}
tiflash: {}
tiflash-learner: {}
pump: {}
drainer: {}
cdc: {}
tidb_servers:
...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tiup cluster edit-config entry point and trace how the configuration template is generated when server_configs is absent. Done means the generated template reserves server_configs entries for tidb, tikv, pd, tiflash, tiflash-learner, pump, drainer, and cdc as shown in the issue.
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