dcloud eks clusters logsControl-plane logs: the Kubernetes audit log, API server, authenticator, controller manager, scheduler
Kept 7 days. Only the types turned on in the cluster’s logging (audit by default; change it with `clusters update --logging`) are collected. The audit log leaves out reads by the cluster’s own components that succeeded; every write, every refusal and every request by a person or a workload is in it.
Synopsis
dcloud eks clusters logs cluster [flags]Arguments
<cluster>Requiredstring
Also accepted as
--cluster. Constraints: /^(ewk-[0-9a-f]{12}|[a-z]([a-z0-9-]{0,38}[a-z0-9])?)$/
Flags
--typeOptionalenum
Only this log type: api, audit, authenticator, controllerManager or scheduler. Default: every type
One of:
api,audit,authenticator,controllerManager,scheduler--sinceOptionalstring
ISO time, inclusive. Default: one hour before `until`
--untilOptionalstring
ISO time, inclusive. Default: now
--containsOptionalstring
Only lines whose message contains this text, ignoring case; at most 200 characters
Constraints: max 200 chars
--limitOptionalnumber
At most this many lines, newest first, 1–1000; default 200
Constraints: integer, 1-1000
Example
dcloud eks clusters logs clusterGenerated from the API description, the same one the API checks requests against and the CLI is built from.