Skip to content

Commit

Permalink
Chore/increase requests and limits (#1168)
Browse files Browse the repository at this point in the history
* increase context-box and autoscaler resources

* completely drop memory limits on context-box and autoscaler-adapter

* Auto commit - update kustomization.yaml

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: CI/CD pipeline <CI/CD-pipeline@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 21, 2023
1 parent 61dec1f commit 2229314
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions manifests/claudie/context-box.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ spec:
resources:
requests:
cpu: 80m
memory: 50Mi
memory: 100Mi
limits:
cpu: 160m
memory: 100Mi
env:
- name: DATABASE_PORT
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion manifests/claudie/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ images:
- name: ghcr.io/berops/claudie/kube-eleven
newTag: 5b98b6d-2519
- name: ghcr.io/berops/claudie/kuber
newTag: 5b98b6d-2519
newTag: d4fcf7f-2520
- name: ghcr.io/berops/claudie/scheduler
newTag: 5b98b6d-2519
- name: ghcr.io/berops/claudie/terraformer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ spec:
- image: registry.k8s.io/autoscaling/cluster-autoscaler:v1.25.0
name: cluster-autoscaler
resources:
limits:
memory: 120Mi
requests:
cpu: 100m
memory: 100Mi
memory: 300Mi
command:
- ./cluster-autoscaler
- --cloud-provider=externalgrpc
Expand Down
7 changes: 2 additions & 5 deletions services/kuber/templates/cluster-autoscaler.goyaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,17 @@ spec:
resources:
requests:
cpu: 80m
memory: 50Mi
memory: 100Mi
limits:
cpu: 160m
memory: 100Mi
ports:
- containerPort: {{ .AdapterPort }}
- name: cluster-autoscaler
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ .KubernetesVersion }}
resources:
limits:
memory: 120Mi
requests:
cpu: 100m
memory: 100Mi
memory: 300Mi
command:
- ./cluster-autoscaler
- --cloud-provider=externalgrpc
Expand Down

0 comments on commit 2229314

Please sign in to comment.