Home > Enterprise >  Many unexpected CloudWatch Log Streams for EKS control plane components
Many unexpected CloudWatch Log Streams for EKS control plane components

Time:04-29

I have an EKS cluster up & running, with everything going smoothly. However, I see there are several unexpected Log streams for the EKS control plane components in CloudWatch.

Many Log streams for EKS control plane component

I've looked at the AWS/EKS docs and failed to find the reason behind this behavior, and how to change it to have only one Log stream per control plane component.

In case it helps, here's a little bit of extra context:

  • Kubernetes version: v1.21
  • Control Plane Logging:
    • API server: Enabled
    • Authenticator: Enabled
    • Scheduler: Disabled
    • Audit: Enabled
    • Controller manager: Disabled

CodePudding user response:

This is expected as per the official document:

As log stream data grows, the log stream names are rotated. When multiple log streams exist for a particular log type, you can view the latest log stream by looking for the log stream name with the latest Last Event Time.

  • Related