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