# Installing elasticsearch at Redhat openshift

**URL:** https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637
**Category:** Elastic Cloud Enterprise (ECE)
**Created:** [July 5, 2023, 8:35am UTC](https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637 "2023-07-05T08:35:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Yasser\_Alsawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasser_alsawy/32/120976_2.png) [@Yasser\_Alsawy](https://discuss.elastic.co/u/Yasser_Alsawy)
#### Post date: [July 5, 2023, 8:35am UTC](https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637/1 "2023-07-05T08:35:32Z")

</div>

I want to install Elasticsearch at Openshif on-premise. I'm not sure if I have to follow ECE or is it limited to only installation on cloud?  
should I create servers with roles allocator, director, proxy and coordinator for the installation at on-premise ocp?  
On other hand my infrastructure team asks for hardware compatibility matrix and I can find it only for ECE and I cannot find recommended storage type even for ECE!

---

<div class="post-metadata">

### Author: ![Yasser\_Alsawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasser_alsawy/32/120976_2.png) [@Yasser\_Alsawy](https://discuss.elastic.co/u/Yasser_Alsawy)
#### Post date: [July 6, 2023, 8:18am UTC](https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637/2 "2023-07-06T08:18:07Z")

</div>

let me rephrase my question:  
I want to install a new Elasticsearch service at Openshift as requested by Mubarak. the options at Elasticsearch site are:

1- install at Linux or Mac using curl then runnng the file from local storge which will not work here

2- download zip file at Windows then running it

3- installing at openshift as operator (core/internal service) which is already exists while we need to install one more service to expose outside

4- what I need is using a yaml file and elasticsearch image to create a pod using: `oc apply file.yaml` command from openshift cli at my windows cmd

how could I do the 4th choice above .. I cannot find the required yaml and image at elsticsearch site

---

<div class="post-metadata">

### Author: ![Yasser\_Alsawy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasser_alsawy/32/120976_2.png) [@Yasser\_Alsawy](https://discuss.elastic.co/u/Yasser_Alsawy)
#### Post date: [July 6, 2023, 8:52am UTC](https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637/3 "2023-07-06T08:52:31Z")

</div>

I found the solution! elasticsearch image is available at docker hub. I have created the yaml file and used:

> oc apply -f file.yaml

---

<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: [July 20, 2023, 8:53am UTC](https://discuss.elastic.co/t/installing-elasticsearch-at-redhat-openshift/337637/4 "2023-07-20T08:53:16Z")

</div>

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