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.

18701870

Controller Manager logs example

Log Collection Setup

Pre-requisites

Ensure you can deploy an Agent into the Kubernetes environment.

Configure an Kubernetes Source

  1. 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.

  1. Login to BindPlane and select the Logs tab.
284284

Logs Tab

  1. Select the Sources tab.
249249

Sources Tab

  1. In the top-right portion of the screen, click on the Add Source Configuration button
576576

Add Source Configuration Button

  1. Choose Kubernetes
  2. Fill out the Kubernetes log monitoring options.
500500

Disable log monitoring for any of the Kubernetes log files you do not want to collect by unchecking the corresponding log type.