Skip to content

Commit

Permalink
Managed K8S resources should match standalone. (#2288) (#2291)
Browse files Browse the repository at this point in the history
The CPU and memory requests for a standalone agent were updated to
higher values than what is currently used for Fleet managed agents.
Update the managed configuration to match the standalone configuration
there is no reason for them to be different.

(cherry picked from commit 9c6c5ae)
  • Loading branch information
cmacknz committed Feb 16, 2023
1 parent 3dc3248 commit bb7b3c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
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 @@ -68,10 +68,10 @@ spec:
#privileged: true
resources:
limits:
memory: 500Mi
memory: 700Mi
requests:
cpu: 100m
memory: 200Mi
memory: 400Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ spec:
#privileged: true
resources:
limits:
memory: 500Mi
memory: 700Mi
requests:
cpu: 100m
memory: 200Mi
memory: 400Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ spec:
runAsUser: 0
resources:
limits:
memory: 500Mi
memory: 700Mi
requests:
cpu: 100m
memory: 200Mi
memory: 400Mi
volumeMounts:
- name: proc
mountPath: /hostfs/proc
Expand Down

0 comments on commit bb7b3c7

Please sign in to comment.