# Install ES stack in a k8s cluster composed of multiple machines

**URL:** <https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373>\
**Category:** Elasticsearch\
**Created:** [September 5, 2021, 2:45pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373 "2021-09-05T14:45:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigESFan](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@bigESFan](https://discuss.elastic.co/u/bigESFan)\
**Post date:** [September 5, 2021, 2:45pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373/1 "2021-09-05T14:45:48Z")

</div>

I want to install ES stack in a K8s cluster composed of multiple machines which runs vanilla K8s.  
These machines are all on-prem machines running Ubuntu, hence I need to install ES stack on in-house servers, not on any public cloud.

I also want the ES and KB websites could be accessed via an external URL (not just access the websites from the local URL where ES and KB are installed on). So some extra pods (e.g., Ingress ?) might required for that purpose.

I googled around, but couldn't find good documents or step-by-step guidance.  
I highly appreciate if you could share some information to help . 🙏 🙏 🙏

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 5, 2021, 10:19pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373/3 "2021-09-05T22:19:56Z")

</div>

Welcome to our community! 😃

[Quickstart | Elastic Cloud on Kubernetes [1.7] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html) should get you most of the way.

---

<div class="post-metadata">

**Author:** ![bigESFan](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@bigESFan](https://discuss.elastic.co/u/bigESFan)\
**Post date:** [September 9, 2021, 12:17pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373/4 "2021-09-09T12:17:38Z")

</div>

Thanks for the update. I followed the link (for the quick start), but the installed ES and KB websites could only be accessed via an internal local URL, and can't be accessed via a external URL. Is there any quick sample solution (or example) to add an external URL to access ES & KB ? I appreciate your help.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 11:25pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373/5 "2021-09-09T23:25:00Z")

</div>

I'm not sure on that aspect myself sorry.

---

<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:** [October 7, 2021, 11:25pm UTC](https://discuss.elastic.co/t/install-es-stack-in-a-k8s-cluster-composed-of-multiple-machines/283373/6 "2021-10-07T23:25:06Z")

</div>

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