Kubernetes
Logs Collected
The logs available to be collected from your Kubernetes environment are:
- Container logs
- Proxy logs
- Kubelet logs
- Controller Manager logs
- Scheduler logs
- API Server logs
Below is an example of a warning level log in Google Stackdriver Logging, collected from the Controller Manager logs.
Log Collection Setup
Pre-requisites
Ensure you can deploy an Agent into the Kubernetes environment.
Configure an Kubernetes Source
- Install the Agent using by creating a new Template and choosing the Kubernetes deployment method
Templates
Use a Template when deploying to Kubernetes, this will allow you to manage the configuration of new log agents that start in the cluster.
- Login to BindPlane and select the Logs tab.
- Select the Sources tab.
- In the top-right portion of the screen, click on the Add Source Configuration button
- Choose Kubernetes
- Fill out the Kubernetes log monitoring options.
Disable log monitoring for any of the Kubernetes log files you do not want to collect by unchecking the corresponding log type.
Updated over 4 years ago