Skip to content
Proud to collaborate with Microsoft for Startups

kubernetes.event.list ​

List events in a namespace, newest first

List events in a Kubernetes namespace, newest first.

Inputs:

  • connection_uuid: Cloud connection UUID (required)
  • namespace: Namespace to query (required)
  • field_selector: Kubernetes field selector, e.g. "involvedObject.kind=Pod,involvedObject.name=foo" (optional)
  • limit: Maximum events to return (optional; default 200, cap 1000)

Outputs:

  • items: list of event dicts (see module docstring for shape)
  • count: number of events returned

Plugin required: context.get_plugin("connection").kubernetes_runner_clients(connection_uuid, organization_uuid) must expose core_v1 with list_namespaced_event.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-kubernetes
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—Cloud connection UUID
namespacestringYes—Namespace to query
field_selectorstringNo—Kubernetes field selector (e.g. "involvedObject.kind=Pod,involvedObject.name=foo")
limitintegerNo—Max events to return (default 200, cap 1000)
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo——
organization_uuiduuidNo——
namespacestringNo——
field_selectorstringNo——
limitintegerNo——
itemslistNo——
countintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "kubernetes.event.list",
  "initial_data": {
    "connection_uuid": "value",
    "namespace": "value"
  }
}