kcp icon indicating copy to clipboard operation
kcp copied to clipboard

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

Open sttts opened this issue 3 years ago • 3 comments

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.

sttts avatar Sep 20 '22 14:09 sttts

I would like to work on this if no one is working on it.

bipuladh avatar Sep 28 '22 07:09 bipuladh

/assign @bipuladh

bipuladh avatar Sep 29 '22 10:09 bipuladh

@bipuladh are you still working on this?

vincepri avatar Dec 13 '22 19:12 vincepri