From 564578415d9455a108e1982944f60507c13e7a55 Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Thu, 23 Jan 2025 14:02:06 +0200 Subject: [PATCH 1/2] config/manager: Remove ipam-ext Deployment limit control-plane components such as ipam-ext Deployment should not have memory/cpu limit. Signed-off-by: Ram Lavi --- config/manager/manager.yaml | 3 --- dist/install.yaml | 3 --- 2 files changed, 6 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index b7611c59..5d53ed03 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -85,9 +85,6 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 resources: - limits: - cpu: 500m - memory: 128Mi requests: cpu: 10m memory: 64Mi diff --git a/dist/install.yaml b/dist/install.yaml index 31c4bc0e..6d84a034 100644 --- a/dist/install.yaml +++ b/dist/install.yaml @@ -244,9 +244,6 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 resources: - limits: - cpu: 500m - memory: 128Mi requests: cpu: 10m memory: 64Mi From 752ceca4f77592924d79a370fb25960a8b1746bc Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Thu, 23 Jan 2025 14:15:10 +0200 Subject: [PATCH 2/2] config/manager: Increase Memory request to 128Mi Matching memory demand used by similar components like kubemacpool [0] [0] https://github.com/k8snetworkplumbingwg/kubemacpool/blob/main/config/release/kubemacpool.yaml#L301 Signed-off-by: Ram Lavi --- config/manager/manager.yaml | 2 +- dist/install.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 5d53ed03..a4f7e7c3 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -87,7 +87,7 @@ spec: resources: requests: cpu: 10m - memory: 64Mi + memory: 128Mi priorityClassName: system-cluster-critical serviceAccountName: manager terminationGracePeriodSeconds: 10 diff --git a/dist/install.yaml b/dist/install.yaml index 6d84a034..914c4182 100644 --- a/dist/install.yaml +++ b/dist/install.yaml @@ -246,7 +246,7 @@ spec: resources: requests: cpu: 10m - memory: 64Mi + memory: 128Mi securityContext: allowPrivilegeEscalation: false capabilities: