pingcap / pingcap/tidb-operator

Deploy RawKV as accessible outside of cluster

Open
#6,274 1 comment 0 reactions 1 assignee View on GitHub

@liubog2008 is already working on this.

Since Jun 30, 2025.

v2
Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

How can I deploy a RawKV setup (TiKV + PD nodes only, no TiDB SQL layer) for an application like JuiceFS such that the resources (both PD and TiKV is needed by the client) are available for access by clients outside of the cluster?

JuiceFS uses a PD address as its entry point to begin communication, then it must talk to the TiKV nodes it discovers directly.

Part of the problem is that the PD will report cluster-internal DNS names for discovery to the outside if a load balancer is used to access the PD, and this behavior does not seem exposed to change in the operator.

Allowing modification of advertise-client-urls could be useful:

https://tikv.org/docs/6.1/deploy/configure/pd-command-line/#--advertise-client-urls

In some situations such as in the Docker or NAT network environment, if a client cannot access PD through the default client URLs listened to by PD, you must manually set the advertise client URLs.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.