Deployments
Preview

List the pods of a deployment

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.

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

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

deploymentId*string
Formatuuid
appId?string

Only what belongs to this app of the deployment.

Formatuuid

Response Body

OK.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/pods'
Example Response
{  "items": [    {      "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"        }      ]    }  ]}