# License eck elasticsearch

**URL:** https://discuss.elastic.co/t/license-eck-elasticsearch/359408
**Category:** Elastic Cloud on Kubernetes (ECK)
**Tags:** license
**Created:** [May 13, 2024, 7:07pm UTC](https://discuss.elastic.co/t/license-eck-elasticsearch/359408 "2024-05-13T19:07:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Cristian\_Pereyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cristian_pereyra/32/126779_2.png) [@Cristian\_Pereyra](https://discuss.elastic.co/u/Cristian_Pereyra)
#### Post date: [May 13, 2024, 7:07pm UTC](https://discuss.elastic.co/t/license-eck-elasticsearch/359408/1 "2024-05-13T19:07:28Z")

</div>

hello everyone!

I need to apply the ECK enterprise license. According to the documentation ([Manage licenses in ECK | Elastic Cloud on Kubernetes [2.11] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/2.11/k8s-licensing.html)), I add it as a secret for the operator to manage. The secret has an annotation "[license.k8s.elastic.co/scope:](http://license.k8s.elastic.co/scope:) operator" which, as I understand it, is for the operator to manage it.

Currently, under the same operator, I have three Elasticsearch ECK clusters. I want to apply the license to only one of those three clusters. How can I do this?  
How can I apply the license to just one Elasticsearch cluster?

yaml

Copy code

```auto
apiVersion: v1
kind: Secret
metadata:
  labels:
    license.k8s.elastic.co/scope: operator
  name: eck-license
type: Opaque
data:
  license: "JSON license in base64 format"

```

---

<div class="post-metadata">

### Author: ![Thibault\_Richard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thibault_richard/32/50513_2.png) [@Thibault\_Richard](https://discuss.elastic.co/u/Thibault_Richard)
#### Post date: [May 14, 2024, 2:15pm UTC](https://discuss.elastic.co/t/license-eck-elasticsearch/359408/2 "2024-05-14T14:15:58Z")

</div>

Hello,

You need to have 2 operators deployed in 2 different namespaces configured to manage 2 different sets of namespaces: one running on a basic license and one on an enterprise license. Make sure that they have clearly separated responsibilities, meaning they are configured to manage different Kubernetes namespaces.

```auto
elastic-system-basic/elastic-operator
- elastic-apps-basic/elasticsearch-1

elastic-system-enterprise/elastic-operator
- elastic-apps-enterprise/elasticsearch-2
- elastic-apps-enterprise/elasticsearch-3

```
