Reputation: 11
Almost all of the reference I found over web says filebeat should be used as daemonset or sidecar in k8.
What I observed in my cluster that Eks pod logs are already getting saved under host directory (/var/log/container) then why shouldn't I use Filebeat as a normal process on host and collectblog from host path ? Also in case if node scale then userdata can be in place to start/configure filebeat. Any problem I will face with this ?
I am afraid to follow this without daemonset as I do not find any similar solution and unaware about the upcoming limitations.
Upvotes: 0
Views: 648
Reputation: 6765
Deploying Filbeat as a daemonset gives you an advantage of being able to deploy it using k8s manifests as opposed to custom deployment via userdata or configuration management. This is basically the whole point of picking up Kubernetes in the first place.
Configuring another process running directly on the host has the following disadvantages -
Upvotes: 0