kcp
kcp copied to clipboard
feature: make /readyz /live /healthz /version available in every workspace
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.
I would like to work on this if no one is working on it.
/assign @bipuladh
@bipuladh are you still working on this?