Skip to content

Commit

Permalink
Merge pull request #122 from yue9944882/chore/trim-gateway-pod-req-ca…
Browse files Browse the repository at this point in the history
…pacity

Chore:Shrink CPU/mem request for gateway pod
  • Loading branch information
Somefive authored Jan 4, 2023
2 parents 42b63b5 + e8e96e3 commit c99ebd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/addon/controllers/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,10 @@ func newClusterGatewayDeployment(addon *addonv1alpha1.ClusterManagementAddOn, co
Args: args,
VolumeMounts: volumeMounts,
Resources: corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
corev1.ResourceMemory: *resource.NewQuantity(200*1024*1024, resource.BinarySI),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: *resource.NewMilliQuantity(500, resource.DecimalSI),
corev1.ResourceMemory: *resource.NewQuantity(600*1024*1024, resource.BinarySI),
Expand Down

0 comments on commit c99ebd5

Please sign in to comment.