Skip to content

Commit

Permalink
Fix resource reservation calculation
Browse files Browse the repository at this point in the history
(cherry picked from commit e070c2e)
  • Loading branch information
deliahu committed Jul 6, 2021
1 parent bc54253 commit 5f14c9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/operator/resources/validations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 5f14c9c

Please sign in to comment.