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

Adjust memory requests and limits for elastic-agent when run in Kubernetes cluster #5614

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 600Mi
volumeMounts:
- name: datastreams
mountPath: /etc/elastic-agent/agent.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 600Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 600Mi
volumeMounts:
- name: datastreams
mountPath: /etc/elastic-agent/agent.yml
Expand Down
4 changes: 2 additions & 2 deletions deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
4 changes: 2 additions & 2 deletions deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -759,10 +759,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: datastreams
mountPath: /etc/elastic-agent/agent.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ spec:
# - SYS_ADMIN
resources:
limits:
memory: 700Mi
memory: 1Gi
requests:
cpu: 100m
memory: 400Mi
memory: 500Mi
volumeMounts:
- name: datastreams
mountPath: /etc/elastic-agent/agent.yml
Expand Down
Loading