Skip to navigation

Why a deployed charger is not running: pods, events and system logs

Read-only. Returns the charger Deployment, its pods, cluster events and container logs over a window (default: the last 15 minutes, at most 6 hours), plus a verdict such as csms_unreachable or crash_loop. Secrets in log lines are redacted. After a crash the previous container’s logs are returned. download=true returns plain text.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

deployment_idstringRequired>=1 character

Charger deployment id (UUIDv4).

sincedatetime or nullOptional

Window start (ISO 8601). Default: until - 15 minutes.

untildatetime or nullOptional

Window end (ISO 8601). Default: now.

previousboolean or nullOptional

Read the previous container. Default: automatic after a crash.

levelenumOptionalDefaults to info
Minimum log level returned.
Allowed values:
tail_linesintegerOptional1-2000Defaults to 500
Newest lines kept.
downloadbooleanOptionalDefaults to false

Return the log lines as text/plain.

Response

Successful Response
windowobject
verdictobject

Why the charger is (not) running, decided from pods, events and logs.

deploymentobject
Desired vs ready instances. Infrastructure names and images are never exposed.
podslist of objects
eventslist of objects
logsobject
noteslist of stringsOptional

Parts that could not be read, e.g. events_unavailable:403.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error