Skip to content

Commit

Permalink
feat: Reduced resource requests for several components (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thaler authored Oct 21, 2024
1 parent 8576497 commit 977a8d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
memory: 384Mi
requests:
cpu: 5m
memory: 100Mi
memory: 50Mi
volumeMounts:
- mountPath: /tmp
name: crt-volume
Expand Down
4 changes: 2 additions & 2 deletions internal/resources/fluentbit/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func MakeDaemonSet(name types.NamespacedName, checksum string, dsConfig DaemonSe
corev1.ResourceMemory: resource.MustParse("5Mi"),
},
Limits: map[corev1.ResourceName]resource.Quantity{
corev1.ResourceCPU: resource.MustParse("100m"),
corev1.ResourceMemory: resource.MustParse("50Mi"),
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("20Mi"),
},
}

Expand Down
4 changes: 2 additions & 2 deletions internal/resources/selfmonitor/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const (

var (
storageVolumeSize = resource.MustParse("1000Mi")
cpuRequest = resource.MustParse("0.1")
cpuRequest = resource.MustParse("10m")
memoryRequest = resource.MustParse("50Mi")
cpuLimit = resource.MustParse("0.2")
cpuLimit = resource.MustParse("200m")
memoryLimit = resource.MustParse("180Mi")
)

Expand Down

0 comments on commit 977a8d7

Please sign in to comment.