# Expose Elasticsearch on GKE to Dataproc (Performantly )

**URL:** https://discuss.elastic.co/t/expose-elasticsearch-on-gke-to-dataproc-performantly/349056
**Category:** Elasticsearch
**Created:** [December 11, 2023, 2:42pm UTC](https://discuss.elastic.co/t/expose-elasticsearch-on-gke-to-dataproc-performantly/349056 "2023-12-11T14:42:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Pat\_Humphreys](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@Pat\_Humphreys](https://discuss.elastic.co/u/Pat_Humphreys)
#### Post date: [December 11, 2023, 2:42pm UTC](https://discuss.elastic.co/t/expose-elasticsearch-on-gke-to-dataproc-performantly/349056/1 "2023-12-11T14:42:19Z")

</div>

What is the recomended way of exposing an elasticsearch cluster outside of the GKE cluster e.g. to use by a spark job running in dataproc (Using ES Hadoop libary) within the same VPC, without enabling the wan.only option?

---

<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: [January 8, 2024, 2:42pm UTC](https://discuss.elastic.co/t/expose-elasticsearch-on-gke-to-dataproc-performantly/349056/2 "2024-01-08T14:42:54Z")

</div>

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