pingcap / pingcap/tiup

Add `tiup cluster template --tikv` option

Open
#1,405 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/feature-request
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:

We need a template for TiKV users.
These users only want to deploy pdtikv and grafana (without tidb).

Describe the feature you'd like:

I'd like tiup cluster template --tikv to output a cluster topology template without tidb.

Besides the default path should be tikv-data instead of tidb-data.

Why the featue is needed:

We should optimize the experience of TiKV users.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

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 by tracing the existing tiup cluster template command and its default topology generation. Compare the current template's component set and data path with the requested --tikv output; done when the option emits only pd, tikv, and grafana and uses tikv-data rather than tidb-data.

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.