Kubernetes
Configure Kubernetes Log Source with BindPlane
Supported Versions
Kubernetes versions
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
Prerequisites
RBAC must be enabled to gather logs (this is generally enabled by default).
Configuration
Cluster
Option | Description |
---|---|
Containers Log Path | Use this field to verify the path to the Containers log file and adjust default as needed (/var/log/containers/*). |
Kubelet Journald Log Path | Use this field to specify the Kubelet Journald log path. It will read from /run/journal/ or /var/log/journal if this parameter is omitted. |
Cluster Name | Use this field to add a Cluster Name to the resource label. |
Start At | Choose whether to start reading from the beginning or end of a file with "end" being the default. |
Events
Option | Description |
---|---|
Namespaces | Use this field to specify an array of namespaces. The default is to use all namespaces. |
Cluster Name | Use this field to add a Cluster Name to the end of the resource label. |
Container
Option | Description |
---|---|
Cluster Name | Use this field to add a Cluster Name to the resource label. |
Pod Name | Use this field to specify the name of the pod to collect logs from. |
Container Name | Use this field to specify the name of the container to collect logs from. |
Exclude Files | Use this field to specify a pattern of files to exclude. |
Start At | Choose whether to start reading from the beginning or end of a file with "end" being the default. |
Log Types
Types |
---|
k8s.controller |
k8s.scheduler |
k8s.apiserver |
k8s.proxy |
k8s.container |
k8s.kubelet |
k8s.node |
Advanced
For more information on the advanced configuration capabilities, see our detailed plugin guide here.
Updated over 3 years ago