feature: make /readyz /live /healthz /version available in every workspace #2036
Labels
area/server
Everything around `kcp start`
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
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?
Additional Context
Note: /openapi and /metrics are different and need more thoughts.
The text was updated successfully, but these errors were encountered: