Get a cluster's settings
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidThe settings. A cluster nobody has configured has the defaults.
application/json- response
namespacePreparation*What the cluster's operator says its own RBAC lets it do to prepare a deployment's namespace (make it, make the service account and role binding in it, and bind the wardn-preview-deployer and admin ClusterRoles).
labelUsage*array<>The cluster's labels by key, each with the guardrails that select clusters by it. Guardrails arrive with M3, so every list is empty for now; the field is here so screens can show "Used by" already.
namespaces*neverManaged*array<string>Namespaces Wardn never manages, whatever the mode.
secretsProvider*string"none""sops""eso"agentSandboxes*booleanWhether agents run in the cluster (their runtime is installed there and jobs may be placed on it). On a production cluster it needs the warning acknowledged first.
prepareNamespaces*booleanWhether Wardn prepares a deployment's namespace before it applies there: the namespace, a wardn-deployer service account and a role binding to the admin ClusterRole. On by default for development and staging clusters, off for production, until someone chooses. Turning it on is refused (409, cluster.settings.prepare_unsupported) while the operator says it cannot prepare namespaces.
agentsProductionAcknowledgedAt*|When someone acknowledged the warning for agents on this production cluster. Null until then, and again after the cluster becomes production. Always null on a cluster that is not production.
date-timeupdatedAt*|Null while the cluster has the defaults.
date-timecurl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/settings'{ "namespacePreparation": { "status": "unknown", "missing": [ "string" ], "reportedAt": "2019-08-24T14:15:22Z" }, "labelUsage": [ { "key": "string", "value": "string", "guardrails": [ { "id": "string", "name": "string" } ] } ], "namespaces": { "mode": "all", "names": [ "string" ] }, "neverManaged": [ "string" ], "secretsProvider": "none", "agentSandboxes": true, "prepareNamespaces": true, "agentsProductionAcknowledgedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}List a cluster's node pools GET
Previous Page
Replace a cluster's settings PUT
Agents may run on a production cluster once someone acknowledges the warning (`acknowledgeAgentsProduction`); moving a cluster to the production tier takes that acknowledgement back. `kube-system` and `wardn-system` are never managed and cannot be listed.