Count the clusters a caller reaches by state
How many of the clusters the caller may read are in each state of the clusters list, so its filters show their counts however many pages there are.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The counts.
application/json- response
total*integerconnected*integerConnected, including those that need an upgrade.
upgrade*integerdisconnected*integerunassigned*integerClusters that belong to no environment.
production*integercurl -X GET 'https://wardn.example.com/api/v1/clusters/summary'{ "total": 0, "connected": 0, "upgrade": 0, "disconnected": 0, "unassigned": 0, "production": 0}Register a cluster POST
The caller becomes the cluster's owner. Naming an environment also takes the right to manage that environment. With none named, an environment whose selector matches the cluster's labels may place it.
Get a cluster GET
With cluster:read the answer is the whole cluster (`view` full). Someone who cannot read the cluster but can read a deployment placed on it gets the limited `context` view: name, health, online, versions and their own deployments there, nothing else. A cluster outside both is 404.