Clusters
Preview

List a cluster's Kubernetes events

The Kubernetes events the cluster's operator saw in the namespaces of Wardn's deployments, newest first, one per object, reason and type with how often it happened. The operator never watches other namespaces, and events not seen for a day are dropped.

GET
/clusters/{clusterId}/events
cookiebetter-auth.session_token<token>

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

clusterId*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.

namespace?string

Only this namespace.

Length1 <= length <= 63
type?string

Only Normal or only Warning events.

Value in"Normal""Warning"
object?string

Only events about this object, or the objects a workload of that name owns.

Length1 <= length <= 253

Response Body

A page of events, newest first.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/events'
Example Response
{  "items": [    {      "id": 0,      "namespace": "string",      "type": "Normal",      "reason": "string",      "objectKind": "string",      "objectName": "string",      "message": "string",      "count": 0,      "firstSeen": "2019-08-24T14:15:22Z",      "lastSeen": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}