简体   繁体   中英

How to collect Kubernetes cluster logs (api server, scheduler, autoscaler)?

How can I collect Kubernetes Cluster Logs like API Server Logs, Auto-Scaler logs, Scheduler Logs?

I use fluentD to collect application logs, Can I use that to also collect the cluster logs? Which file in the nodes have the cluster logs?

api-server , auto-scaler and scheduler are containers and write log to console. You can use filebeat to collect logs from there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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