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

Viewed 29

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?

1 Answers

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

Related