Hi,
While trying to investigate a problem with our kubernetes cluster I discovered that our filebeat install was not collecting logs from anything running on the "master" nodes. It did when I initially installed filebeat a while ago.
After some digging, I find that a few kubernetes versions ago, they changed it so that DaemonSets (which filebeat uses to deploy on kubernetes) do not deploy to master nodes by default.
I believe the filebeat-kubernetes file at :
Needs to be changed to include
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
This works for me.
Am I correct? is this something I should submit as a bug?
links:
https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/