tikv / tikv/pd

Provide health check API without certs required when TLS enabled

Open
#3,735 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Feature Request

### Describe your feature request related problem

When we deploy PD in the platforms like Kubernetes, we can leverage the health check mechanism provided by Kubernetes to exclude the unhealthy Pod from the service endpoint automatically, to do that, we need to provide a health check API.
We have the API `/pd/api/v1/health`, however, when TLS is enabled, certs are required to access this API, which is unavailable for Kubelet, so we need to provide a health check API without certs required when TLS enabled.

### Describe the feature you'd like

### Describe alternatives you've considered

### Teachability, Documentation, Adoption, Migration Strategy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.