Skip to content

feature: make /readyz /live /healthz /version available in every workspace #2036

Open
@sttts

Description

@sttts

Feature Description

The mentioned endpoints should return the same status as the global one.

Proposed Solution

Redirect those endpoints under a workspace URL to the top-level one. This could implemented via a function WithPerWorkspaceStaticEndpoints in https://github.com/kcp-dev/kcp/blob/main/pkg/server/handler.go, and wired into the handler chain.

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

Note: /openapi and /metrics are different and need more thoughts.

Metadata

Metadata

Assignees

Labels

area/serverEverything around `kcp start`help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions