Deployments
Preview

Read a pod's YAML

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.

GET
/deployments/{deploymentId}/pods/{clusterId}/{pod}/yaml
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

deploymentId*string
Formatuuid
clusterId*string
Formatuuid
pod*string
Lengthlength <= 253

Response Body

The pod's YAML.

application/json
  1. response
yaml*string
truncated*boolean

The YAML was longer than the cap and is cut.

Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pods/497f6eca-6276-4993-bfeb-53cbbbba6f08/string/yaml'
Example Response
{  "yaml": "string",  "truncated": true}