From 5f14c9c304b275a156492cf2268db4327751de5e Mon Sep 17 00:00:00 2001 From: David Eliahu Date: Tue, 6 Jul 2021 15:25:49 -0700 Subject: [PATCH] Fix resource reservation calculation (cherry picked from commit e070c2e7330080afb83e8036165d05d5dd330a29) --- pkg/operator/resources/validations.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/operator/resources/validations.go b/pkg/operator/resources/validations.go index e8e74a700c..52c369ddd3 100644 --- a/pkg/operator/resources/validations.go +++ b/pkg/operator/resources/validations.go @@ -110,19 +110,19 @@ func ValidateClusterAPIs(apis []userconfig.API) error { CPU Reservations: FluentBit 100 -NodeExporter 110 (it has two containers) +NodeExporter 50 (it has two containers) KubeProxy 100 AWS cni 10 -Reserved (150 + 150) see eks.yaml for details +Reserved (150 + 150) see generate_eks.py for details */ -var _cortexCPUReserve = kresource.MustParse("620m") +var _cortexCPUReserve = kresource.MustParse("560m") /* Memory Reservations: FluentBit 150 NodeExporter 200 (it has two containers) -Reserved (300 + 300 + 200) see eks.yaml for details +Reserved (300 + 300 + 200) see generate_eks.py for details */ var _cortexMemReserve = kresource.MustParse("1150Mi")