pingcap/tidb-operator

TiKV example of deployment file

Opened this issue · 2 comments

Tidb operator can also be used to spawn a simple TiKV cluster. Hence it should have an example of a deployment file that doesn't contain a tidb section. For now we have to do something like that to spawn it which is annoying

curl https://raw.githubusercontent.com/pingcap/tidb-operator/v1.5.2/examples/basic/tidb-cluster.yaml | \
yq 'del(.spec.tidb)' | \
k apply -f -

As TiDB Operator can spawn a simple TiKV cluster, but we don't fully test this, and this is not the goal of TiDB Operator.

Except this is the recommended way to spawn a tikv cluster on Kubernetes...