Workload events that occurred while the workload was running. Use to diagnose issue around workload scheduling.
Retrieve all the workload events using a workload id.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "next": 1,
- "events": [
- {
- "createdAt": "2022-01-01T03:49:52.531Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Normal",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "message": "Started container z",
- "reason": "Started",
- "source": "kubelet",
- "involvedObject": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "kind": "Pod",
- "name": "test-0-1",
- "namespace": "runai-test"
}
}
]
}
Retrieve workload history details, including events, using a workload id.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "next": 1,
- "records": [
- {
- "meta": {
- "creationTimestamp": "2022-01-01T03:49:52.531Z",
- "type": "Event"
}, - "spec": {
- "event": {
- "createdAt": "2022-01-01T03:49:52.531Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Normal",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "message": "Started container z",
- "reason": "Started",
- "source": "kubelet",
- "involvedObject": {
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "kind": "Pod",
- "name": "test-0-1",
- "namespace": "runai-test"
}
}, - "phaseUpdate": null
}
}
]
}