Skip to content

Commit

Permalink
remove limit for server foundation components (#1126)
Browse files Browse the repository at this point in the history
Signed-off-by: Qing Hao <[email protected]>
  • Loading branch information
haoqing0110 authored Dec 17, 2024
1 parent 6a4a2c1 commit 2c16528
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ spec:
requests:
memory: "96Mi"
cpu: "50m"
limits:
memory: "2Gi"
cpu: "500m"
env:
{{- if .Values.hubconfig.proxyConfigs }}
- name: HTTP_PROXY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ spec:
requests:
memory: "32Mi"
cpu: "25m"
limits:
memory: "2Gi"
cpu: "500m"
args:
- "--http-port=8080"
- "--http-telemetry-port=8081"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ spec:
scheme: HTTPS
initialDelaySeconds: 2
resources:
limits:
memory: 2Gi
requests:
cpu: 2m
memory: 16Mi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
- --agent-image-name={{ .Values.global.imageOverrides.cluster_proxy }}
- --agent-install-namespace=open-cluster-management-agent-addon
- --enable-kube-api-proxy=false
resources:
requests:
cpu: 25m
memory: 128Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ spec:
- name: NO_PROXY
value: {{ .Values.hubconfig.proxyConfigs.NO_PROXY }}
{{- end }}
resources:
requests:
cpu: 25m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ spec:
requests:
memory: "96Mi"
cpu: "50m"
limits:
memory: "3Gi"
cpu: "500m"
env:
{{- if .Values.hubconfig.proxyConfigs }}
- name: HTTP_PROXY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ spec:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 4Gi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ spec:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 3Gi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ spec:
requests:
cpu: 50m
memory: 128Mi
limits:
memory: 2Gi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down

0 comments on commit 2c16528

Please sign in to comment.