From 86baaa3130fd118b9fade743085c686d90a601b8 Mon Sep 17 00:00:00 2001 From: Chris Mark Date: Mon, 2 Aug 2021 13:32:41 +0300 Subject: [PATCH] Increase Agent's mem limits in k8s (#27153) --- deploy/kubernetes/elastic-agent-managed-kubernetes.yaml | 4 ++-- .../elastic-agent-managed-daemonset.yaml | 4 ++-- deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml | 4 ++-- .../elastic-agent-standalone-daemonset.yaml | 4 ++-- x-pack/elastic-agent/CHANGELOG.next.asciidoc | 1 + 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml index b658c29ad4f..12cc5badc69 100644 --- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml @@ -53,10 +53,10 @@ spec: runAsUser: 0 resources: limits: - memory: 200Mi + memory: 500Mi requests: cpu: 100m - memory: 100Mi + memory: 200Mi volumeMounts: - name: proc mountPath: /hostfs/proc diff --git a/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml b/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml index a12b01166dc..49d6143b127 100644 --- a/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml @@ -53,10 +53,10 @@ spec: runAsUser: 0 resources: limits: - memory: 200Mi + memory: 500Mi requests: cpu: 100m - memory: 100Mi + memory: 200Mi volumeMounts: - name: proc mountPath: /hostfs/proc diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml index 2b5a5651926..266dda40bdf 100644 --- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml +++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml @@ -491,10 +491,10 @@ spec: runAsUser: 0 resources: limits: - memory: 200Mi + memory: 500Mi requests: cpu: 100m - memory: 100Mi + memory: 200Mi volumeMounts: - name: datastreams mountPath: /etc/agent.yml diff --git a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml index 6bc45b5145e..6cf04ef7fd4 100644 --- a/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml +++ b/deploy/kubernetes/elastic-agent-standalone/elastic-agent-standalone-daemonset.yaml @@ -46,10 +46,10 @@ spec: runAsUser: 0 resources: limits: - memory: 200Mi + memory: 500Mi requests: cpu: 100m - memory: 100Mi + memory: 200Mi volumeMounts: - name: datastreams mountPath: /etc/agent.yml diff --git a/x-pack/elastic-agent/CHANGELOG.next.asciidoc b/x-pack/elastic-agent/CHANGELOG.next.asciidoc index 1a411e5a189..f97ad68d7a2 100644 --- a/x-pack/elastic-agent/CHANGELOG.next.asciidoc +++ b/x-pack/elastic-agent/CHANGELOG.next.asciidoc @@ -124,4 +124,5 @@ - Enable configuring monitoring namespace {issue}26439[26439] - Communicate with Fleet Server over HTTP2. {pull}26474[26474] - Support Node and Service autodiscovery in kubernetes dynamic provider. {pull}26801[26801] +- Increase Agent's mem limits in k8s. {pull}27153[27153] - Add new --enroll-delay option for install and enroll commands. {pull}27118[27118]