Get a pod of a deployment
The pod as the live inventory reports it. Its YAML is read through the operator on request: `GET …/yaml`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidclusterId*stringuuidpod*stringlength <= 253OK.
application/json- response
clusterId*stringuuidclusterName*stringname*stringnamespace*stringappId*|The app whose workload owns the pod; null for one the running snapshot does not account for.
uuidappName*stringworkload*|nullnode*stringstatus*string"running""not_running"phase*stringWhat to call the pod's state: the reason it is in trouble (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Evicted) when it has one, else Running, or Pending when it is not running yet.
ready*booleanrestarts*integerreason*stringWhy it is in trouble (CrashLoopBackOff, OOMKilled, Evicted), or empty.
startedAt*|When the kubelet started the pod; null before it has, or until the operator next reports a pod seen before this was kept.
date-timecontainers*array<>The pod's containers in spec order, as the operator last reported them. Empty until it next reports a pod seen before these were kept.
items <= 32initContainers*array<>The pod's init containers, apart from its containers.
items <= 32curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pods/497f6eca-6276-4993-bfeb-53cbbbba6f08/string'{ "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "clusterName": "string", "name": "string", "namespace": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "appName": "string", "workload": { "kind": "string", "name": "string" }, "node": "string", "status": "running", "phase": "string", "ready": true, "restarts": 0, "reason": "string", "startedAt": "2019-08-24T14:15:22Z", "containers": [ { "name": "string", "image": "string", "ready": true, "restarts": 0, "state": "running", "reason": "string" } ], "initContainers": [ { "name": "string", "image": "string", "ready": true, "restarts": 0, "state": "running", "reason": "string" } ]}List the pods of a deployment GET
The pods in the deployment's namespace on each of its clusters, from the live inventory the operators report, with the workload and app each belongs to.
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.