Skip to content

Commit 136ff24

Browse files
tune component resources to actual usage (#79)
* tune component resources to actual usage * tune component resources * tune component resources * newline * formatting * formatting * bump Co-authored-by: danielm-codefresh <daniel.maizel@codefresh.io>
1 parent cbb7beb commit 136ff24

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

csdp/base_components/apps/app-proxy/_components/codefresh-base/kustomization.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,18 @@ resources:
1313
- app-proxy.role.yaml
1414
- app-proxy.cm.yaml
1515
- ingress.yaml
16+
17+
pathches:
18+
- target:
19+
name: cap-app-proxy
20+
kind: Deployment
21+
group: apps
22+
version: v1
23+
patch: |-
24+
- op: add
25+
path: /spec/template/spec/containers/0/resources
26+
value:
27+
requests:
28+
memory: 512Mi
29+
limits:
30+
memory: 1Gi

csdp/base_components/apps/argo-cd/_components/codefresh-base/kustomization.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,27 @@ patches:
5555
ephemeral-storage: 2Gi
5656
limits:
5757
ephemeral-storage: 4Gi
58+
59+
- target:
60+
name: argocd-application-controller
61+
kind: Deployment
62+
group: apps
63+
version: v1
64+
patch: |-
65+
- op: add
66+
path: /spec/template/spec/containers/0/resources
67+
value:
68+
requests:
69+
memory: 300Mi
70+
71+
- target:
72+
name: argocd-applicationset-controller
73+
kind: StatefulSet
74+
group: apps
75+
version: v1
76+
patch: |-
77+
- op: add
78+
path: /spec/template/spec/containers/0/resources
79+
value:
80+
requests:
81+
memory: 300Mi

csdp/base_components/apps/argo-events/_components/codefresh-base/eventbus.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ spec:
1414
resources:
1515
limits:
1616
cpu: 500m
17-
memory: 8Gi
17+
memory: 4Gi
1818
ephemeral-storage: 2Gi
1919
requests:
2020
cpu: 200m
21-
memory: 500Mi
21+
memory: 1Gi
2222
ephemeral-storage: 2Gi

csdp/base_components/bootstrap/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ configMapGenerator:
1212
- name: codefresh-cm
1313
behavior: create
1414
literals:
15-
- version=0.0.521 # Runtime version
16-
- bootstrapRevision=0.0.521 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes)
15+
- version=0.0.522 # Runtime version
16+
- bootstrapRevision=0.0.522 # Tag to use for bootstrap (change this to the name of your branch if you want to test changes)
1717
- appsetRequeueTime=15
1818

1919
replacements:

0 commit comments

Comments
 (0)