Get a cluster's operator
What the Operator tab shows: the operator's version and connection, its upgrade channel, whether it upgrades itself, each capability with whether the operator can do it, its tuning, and the components it last reported. A capability the operator did not list in its Hello, or that the cluster's settin
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidThe operator.
application/json- response
operator*The cluster's operator as Wardn last saw it.
latestVersion*stringThe operator release that matches this server, empty for a development build.
channel*string"stable""fast"autoUpgrade*booleanWhether the operator should upgrade itself inside the environment's deploy window. It is recorded and shown; the upgrade itself is not carried out by Wardn yet.
capabilities*array<>Every capability, in the order screens list them.
tuning*How hard the operator works.
components*array<>Empty until the operator reports its components.
updatedAt*|Null while the cluster has the defaults.
date-timecurl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/operator'{ "operator": { "version": "1.4.2", "protocolVersion": 0, "online": true, "lastHeartbeatAt": "2019-08-24T14:15:22Z", "firstConnectedAt": "2019-08-24T14:15:22Z", "connectedAt": "2019-08-24T14:15:22Z", "lastDisconnect": { "at": "2019-08-24T14:15:22Z", "reason": "string", "durationSeconds": 0 }, "refused": { "reason": "revoked", "since": "2019-08-24T14:15:22Z", "lastAt": "2019-08-24T14:15:22Z" }, "upgrade": { "needed": true, "reason": "current" } }, "latestVersion": "string", "channel": "stable", "autoUpgrade": true, "capabilities": [ { "capability": "apply", "enabled": true, "available": true, "unavailableReason": "operator_not_connected" } ], "tuning": { "driftCheckSeconds": 0, "applyConcurrency": 0, "renderLocation": "cluster", "limits": { "driftCheckSeconds": { "min": 0, "max": 0 }, "applyConcurrency": { "min": 0, "max": 0 } } }, "components": [ { "name": "string", "version": "string", "replicas": 0, "readyReplicas": 0, "status": "healthy", "cpuMillis": 0, "memoryBytes": 0, "note": "string", "reportedAt": "2019-08-24T14:15:22Z" } ], "updatedAt": "2019-08-24T14:15:22Z"}Install cert-manager on a cluster POST
Has the operator install the one pinned release of cert-manager, from upstream's manifest after checking its digest, and make the `wardn-letsencrypt` ClusterIssuer. Only while the cluster lets Wardn prepare namespaces (409 `previews.prepare_off`); a cluster that has cert-manager already is left as i
Change a cluster's operator settings PATCH
Changes only the fields sent. Each kind of change, a capability turned on or off, the upgrade channel, auto-upgrade and the tuning, is an Activity entry, and a connected operator is told at once through the settings push. A capability cannot be turned on while it is unavailable; turning it off alway