AKS 和 GKE 是否可以通过 API 公开他们的日志收集应用程序?

Do AKS and GKE can expose their logs collecting applications through APIs?

对于每个云提供商,我们有不同的查看日志的方式(即,EKS 的 Cloudwatch,AKS 的 this 等)。

看来我可以easily 将日志从 Cloudwatch 传输到 S3。 AKS 和 GKE 是否可以通过 API 公开他们的日志收集应用程序?我想将日志从所有云提供商(EKS、AKS、GKE)传输到 S3。

在 AKS 上,如果启用了监视,Microsoft 将在 Fluent Bit 周围部署一个包装器以将日志发送到 Log Analytics。然后您可以使用 Log Analytics API to fetch the logs. On GKE, you can do something similar with the Cloud Logging API.

话虽如此,您最好的选择可能是安装 Fluentd or FluentBit on all your cluster and send your logs directly to S3