title: What are the resource requirements to run Logstash in a k8s pod?
body: <p>I was noticing that running a ELK stack on a Raspberry Pi running a Kubernetes Cluster.  I noticed that it didnt have the resources to run all three containers.  I was looking up that with Kubernetes you can put limits and requests on your resources CPU and Memory, and it got me thinking.  What are the minimum requirements?  To me, applications are greedy, so is there a way to cut down the requirements for Logstash, to emphasize resources for Elasticsearch?</p>
  <p>Right now, I am running a Raspberry Pi 4, 4g RAM, 32G disk.</p>
  <p>If I can put min and max requirements on the container it will better allow me manage the resources.   The think though that I noticed is that there was no insight from what I can tell as to minimum requirements for the different containers.</p>
  <p><a href="https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html" rel="nofollow noreferrer">https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html</a></p>
  <p>The above link i believe tells me that the CPU consumption is greedy, but the default MEMORY for Elastic and Kibana 2Gi and 1Gi respectively.  It mentioned nothing about logstash though, and whether or not there is a Minimum requirement for CPUs.</p>
  <p>I wasnt sure if I should set each ELK container to 1CPU, 1Gi RAM, and I can try it to see if it functions, but since the concept of it throttling down makes me curious what the happy medium would be.</p>