Deployments
Preview

List the Kubernetes events of a deployment

The Kubernetes events the operators saw in the deployment's namespace on its clusters, newest first, one per object, reason and type with how often it happened and when it last did. Events not seen for a day are gone. Wardn's own actions are in Activity, and pod churn is on the timelines.

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

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

deploymentId*string
Formatuuid
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

appId?string

Only what belongs to this app of the deployment.

Formatuuid
type?string
Value in"normal""warning"
since?string

Only events last seen at or after this time (Last sync is the time of the last apply).

Formatdate-time
object?string

Only events about this object, such as a pod's name.

Length1 <= length <= 253

Response Body

OK.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/events'
Example Response
{  "items": [    {      "id": 0,      "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",      "namespace": "string",      "type": "normal",      "reason": "string",      "object": {        "kind": "string",        "name": "string"      },      "appId": "28c365d5-df94-4a54-8217-3ce51d068868",      "appName": "string",      "message": "string",      "count": 0,      "firstSeen": "2019-08-24T14:15:22Z",      "lastSeen": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}