tiup-cluster: auto-detect architecture
@9547 is already working on this.
Since Jun 12, 2021.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Feature Request
Is your feature request related to a problem? Please describe:
Why do we require administrators to manually specify the architecture for each host in the cluster definition?
Describe the feature you'd like:
We should auto-detect the architecture by default.
If an explicit architecture is given, we should use that architecture instead of auto-detecting (in case there's some reason to want the OS to emulate/translate execution).
Why the featue is needed:
It is much easier for TiUP to execute uname -m or the equivalent after connecting to each host than for the administrator to have to manually configure the architecture.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
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.
Assessment
This issue has not been assessed yet.