Restart a pod
Deletes the pod so the controller that owns it makes a new one. The operator deletes it as the deployment's service account, through a signed pod-restart command, and only a pod owned by the objects Wardn applied for the deployment on that cluster. Answers once the delete was accepted; the new pod s
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidclusterId*stringuuidpod*stringlength <= 253Idempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255The pod was deleted; its controller makes a new one.
application/json- response
deploymentId*stringuuidclusterId*stringuuidpod*stringworkload*The workload whose controller makes the new pod.
restartedAt*stringdate-timecurl -X POST 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pods/497f6eca-6276-4993-bfeb-53cbbbba6f08/string/restart'{ "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "pod": "string", "workload": { "kind": "string", "name": "string" }, "restartedAt": "2019-08-24T14:15:22Z"}Read a pod's YAML GET
The pod as the cluster holds it, without its managed fields, read by the operator as the deployment's service account over the same relay as logs and capped at 512 KiB. A pod the caller cannot see is 404. 503 when the cluster's operator is not connected.
Stream a pod's logs GET
Server-sent events, one `line` event per log line (`{"time","container","text"}`) and an `end` event when the stream closes. The operator reads the logs as the deployment's service account and relays them over its stream path (a signed logs-open command, then StreamData), the same path exec uses. A