Skip to content

How to use SDK to access RawKV from outside the k8s cluster? #829

@Smityz

Description

@Smityz

We have deployed a TiKV cluster on k8s, which can only be accessed from within the k8s cluster. In order to enable access to the TiKV cluster from outside the k8s cluster, we need to configure CoreDNS resolution on each client machine, but this is not elegant. Is there a way to specify the DNS for accessing the k8s internal cluster through the application layer?

Can we implement DNS resolution within the SDK without modifying the system's DNS settings? Would this be a good approach?

This issue is moved by pingcap/tidb-operator#5051

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions