# Is there a K8s Container min for Logstash?

**URL:** <https://discuss.elastic.co/t/is-there-a-k8s-container-min-for-logstash/253195>\
**Category:** Logstash\
**Created:** [October 24, 2020, 5:50am UTC](https://discuss.elastic.co/t/is-there-a-k8s-container-min-for-logstash/253195 "2020-10-24T05:50:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fallenreaper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fallenreaper/32/62407_2.png) [@fallenreaper](https://discuss.elastic.co/u/fallenreaper)\
**Post date:** [October 24, 2020, 5:50am UTC](https://discuss.elastic.co/t/is-there-a-k8s-container-min-for-logstash/253195/1 "2020-10-24T05:50:16Z")

</div>

I was using k8s and was fiddling with the idea of a logstash container. Without putting any requests or limits in place though, Logstash, as well as Elasticsearch and Kibana can be a bit greedy when it comes to some resources.

I was trying to figure out what kind of limits I should put in place for logstash, as well as other containers.

It seems that K8S on Raspberry Pi 4 + 4G RAM + 32G sd card cant handle a test instance of ELK deployed on it without limits. With that said, Elastic seems to be the most important requirement and in comparison, Kibana and Logstash would need less resources.

I duplicated this test bed, but instead ran it on k8s on a Macbook pro with far more resources and it would run without and loop backoff errors due to resource limits.

I saw some default Memory limits for E/K in the website [https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html) but I didnt see anything for Logstash, and likewise, noticed that there werent CPU limits and that it was meant to allow a greedy design to give the most resources as possible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 21, 2020, 5:50am UTC](https://discuss.elastic.co/t/is-there-a-k8s-container-min-for-logstash/253195/2 "2020-11-21T05:50:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
