Documentation
¶
Overview ¶
Package admin provides the Admin workspace: a virtual workspace served at /services/admin on every shard, exposing installation-wide administrative views. Admins reach it via the reserved pseudo-workspace path :admin (kubectl ws use :admin).
The first (and currently only) resource is the aggregated, read-only view of every shard's Shard object. The view is backed by the cache server (where every shard's Shard object is already replicated), read with shard-wildcard scope. Because all shards proxy the same cache server, every shard serves an identical view in a single resourceVersion space; consumers can fail over between shards and resume watches with the same resourceVersion.
This decouples shard discovery and shard administration from the root shard: the front-proxy and admin tooling consume this view instead of the Shard objects in the root workspace. Over time the Admin workspace is the home for further installation-wide admin surfaces (e.g. runtime knobs or debug views) without inventing new endpoints per resource.
Index ¶
Constants ¶
const VirtualWorkspaceName = "admin"
VirtualWorkspaceName is the name of the Admin workspace virtual workspace. It is also the URL path segment under /services/.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.