# Spark/ES on kubernetes, co-location ok?

**URL:** <https://discuss.elastic.co/t/spark-es-on-kubernetes-co-location-ok/290153>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [November 25, 2021, 9:53am UTC](https://discuss.elastic.co/t/spark-es-on-kubernetes-co-location-ok/290153 "2021-11-25T09:53:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzrucher](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rzrucher](https://discuss.elastic.co/u/rzrucher)\
**Post date:** [November 25, 2021, 9:53am UTC](https://discuss.elastic.co/t/spark-es-on-kubernetes-co-location-ok/290153/1 "2021-11-25T09:53:35Z")

</div>

Hi all,

I've a question related to architecture. As anyone experienced a deployment of Elasticsearch and spark on a kubernetes cluster ?

My main concern is how to es-hadoop connector works in this situation in regards of data co-location ([Architecture | Elasticsearch for Apache Hadoop [7.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/arch.html#arch-colocation)) ?

Is the system able to starts my spark executors pods co-located with ES pods to avoid as much as possible network traffic for better performances ?

Thanks

---

<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:** [December 23, 2021, 9:53am UTC](https://discuss.elastic.co/t/spark-es-on-kubernetes-co-location-ok/290153/2 "2021-12-23T09:53:53Z")

</div>

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