dcloud eks clusters logs

Control-plane logs: the Kubernetes audit log, API server, authenticator, controller manager, scheduler

IAM eks:GetClusterLogsRead

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>Required

    string

    Also accepted as --cluster. Constraints: /^(ewk-[0-9a-f]{12}|[a-z]([a-z0-9-]{0,38}[a-z0-9])?)$/

Flags

  • --typeOptional

    enum

    Only this log type: api, audit, authenticator, controllerManager or scheduler. Default: every type

    One of: api, audit, authenticator, controllerManager, scheduler

  • --sinceOptional

    string

    ISO time, inclusive. Default: one hour before `until`

  • --untilOptional

    string

    ISO time, inclusive. Default: now

  • --containsOptional

    string

    Only lines whose message contains this text, ignoring case; at most 200 characters

    Constraints: max 200 chars

  • --limitOptional

    number

    At most this many lines, newest first, 1–1000; default 200

    Constraints: integer, 1-1000

Example

dcloud eks clusters logs cluster

Generated from the API description, the same one the API checks requests against and the CLI is built from.