Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust resource requests and autoscaling of calico-node side car containers. #489

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ spec:
env:
- name: POD_CIDR
value: {{ .Values.global.podCIDR }}
resources:
requests:
cpu: 10m
memory: 50Mi
command:
- /bin/sh
- -c
Expand Down Expand Up @@ -238,10 +234,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
resources:
requests:
cpu: 1m
memory: 20Mi
command:
- /bin/sh
- -c
Expand Down
20 changes: 0 additions & 20 deletions charts/internal/calico/templates/node/vpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,5 @@ spec:
resourcePolicy:
containerPolicies:
- containerName: calico-node
minAllowed:
memory: 50Mi
maxAllowed:
memory: 2800Mi
controlledValues: RequestsOnly
- containerName: "add-snat-rule-to-upstream-dns"
minAllowed:
cpu: 10m
memory: 50Mi
maxAllowed:
cpu: 1
memory: 1G
controlledValues: RequestsOnly
- containerName: "network-unavailable-condition-ensurer"
minAllowed:
cpu: 1m
memory: 20Mi
maxAllowed:
cpu: 10m
memory: 100Mi
controlledValues: RequestsOnly
{{- end }}