简体   繁体   English

EKS 控制平面组件的许多意外 CloudWatch Log Streams

[英]Many unexpected CloudWatch Log Streams for EKS control plane components

I have an EKS cluster up & running, with everything going smoothly.我有一个 EKS 集群正在运行,一切进展顺利。 However, I see there are several unexpected Log streams for the EKS control plane components in CloudWatch.但是,我看到 CloudWatch 中的 EKS 控制平面组件有几个意外的日志流。

EKS 控制平面组件的许多日志流

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.我查看了 AWS/EKS 文档,但未能找到此行为背后的原因,以及如何将其更改为每个控制平面组件只有一个日志 stream。

In case it helps, here's a little bit of extra context:如果有帮助,这里有一些额外的上下文:

  • Kube.netes version : v1.21 Kube.netes 版本:v1.21
  • Control Plane Logging :控制平面日志记录
    • API server : Enabled API 服务器:已启用
    • Authenticator : Enabled验证器:已启用
    • Scheduler : Disabled调度程序:已禁用
    • Audit : Enabled审核:已启用
    • Controller manager : Disabled Controller 经理:已禁用

This is expected as per the official document :根据官方文件,这是预期的:

As log stream data grows, the log stream names are rotated.随着日志 stream 数据的增长,日志 stream 名称会轮换。 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.当特定日志类型存在多个日志流时,您可以通过查找具有最新 Last Event Time 的日志 stream 名称来查看最新日志 stream。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM