Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERU handling with enterprise license file #8347

Open
ktzsolt opened this issue Dec 18, 2024 · 0 comments
Open

ERU handling with enterprise license file #8347

ktzsolt opened this issue Dec 18, 2024 · 0 comments
Labels
discuss We need to figure this out >enhancement Enhancement of existing functionality

Comments

@ktzsolt
Copy link

ktzsolt commented Dec 18, 2024

Would you please consider adding an extra maxERUs field to the eck-license Kubernetes secret, allowing Kubernetes cluster administrators to control how many ERUs can be used in a specific Kubernetes cluster?

The effective number of ERUs allowed in the cluster would then be the lesser of this maxERUs field and the number of ERUs included in the license key. This would help to better prevent an underlicensed scenario, particularly in a development/test Kubernetes cluster where Elasticsearch clusters and nodes are created dynamically on demand by the developers.

Example:

apiVersion: v1
kind: Secret
data:
  license: <base64encoded key>
  maxERUs: 2
metadata:
  name: eck-license
  namespace: elastic-system
  labels:
    license.k8s.elastic.co/scope: operator
type: Opaque

Even if the license key includes 10 ERUs, no more than 2 ERUs can be utilized in this Kubernetes cluster with this eck-license Secret. This approach allows us to use the same license key/file in two different Kubernetes clusters (e.g., dev and prod) and allocate 2 ERUs to the dev cluster and 8 ERUs to the prod cluster. This way, we could better mitigate the risk of an underlicensed scenario.

@botelastic botelastic bot added the triage label Dec 18, 2024
@immon immon added the discuss We need to figure this out label Dec 18, 2024
@pebrc pebrc added the >enhancement Enhancement of existing functionality label Dec 19, 2024
@botelastic botelastic bot removed the triage label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss We need to figure this out >enhancement Enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants