# How to deploy ECK to a custom namespace

**URL:** <https://discuss.elastic.co/t/how-to-deploy-eck-to-a-custom-namespace/239819>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [July 3, 2020, 2:15pm UTC](https://discuss.elastic.co/t/how-to-deploy-eck-to-a-custom-namespace/239819 "2020-07-03T14:15:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kay\_Khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kay_khan/32/45028_2.png) [@Kay\_Khan](https://discuss.elastic.co/u/Kay_Khan)\
**Post date:** [July 3, 2020, 2:15pm UTC](https://discuss.elastic.co/t/how-to-deploy-eck-to-a-custom-namespace/239819/1 "2020-07-03T14:15:10Z")

</div>

Is it possible to deploy ECK to a different k8 namespace.

[https://www.elastic.co/guide/en/cloud-on-k8s/1.1/k8s-deploy-eck.html](https://www.elastic.co/guide/en/cloud-on-k8s/1.1/k8s-deploy-eck.html)

`kubectl apply -f https://download.elastic.co/downloads/eck/1.1.2/all-in-one.yaml`

So i would like to specify what k8 namespace ECK stack is deployed to

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [July 8, 2020, 9:45am UTC](https://discuss.elastic.co/t/how-to-deploy-eck-to-a-custom-namespace/239819/2 "2020-07-08T09:45:45Z")

</div>

Hey @Kay_Khan, we're working on [a tool](https://github.com/elastic/cloud-on-k8s/tree/master/hack/manifest-gen) to make that possible, but unfortunately it is not released yet, and there's no version compatible with release `1.1.2`.

Do you want to have ECK manage resources across all namespaces and just modify the namespace ECK is deployed in?

I suggest you download then modify the content of [https://download.elastic.co/downloads/eck/1.1.2/all-in-one.yaml](https://download.elastic.co/downloads/eck/1.1.2/all-in-one.yaml) to suit your needs, before applying the modified file.

In that file you can look for mentions of the `elastic-system` namespace, and replace it with your own namespace.

The namespace in which Elasticsearch, Kibana, etc. resources are deployed can be specified in their manifest directly:

```auto
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: quickstart
  namespace: my-namespace
spec:
  version: 7.8.0
  nodeSets:
  - name: default
    count: 1

```

---

<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 4, 2022, 8:04am UTC](https://discuss.elastic.co/t/how-to-deploy-eck-to-a-custom-namespace/239819/3 "2022-11-04T08:04:59Z")

</div>


