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

fix: reduce resource requests/limits for gitops #3433

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 15 additions & 0 deletions components/gitops/development/core_service_resources_patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitops-core-service-controller-manager
namespace: gitops
spec:
template:
spec:
containers:
- name: manager
resources:
requests:
cpu: 100m
memory: 100Mi
Copy link
Member Author

@psturc psturc Mar 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous requests:

              cpu: '1'
              memory: 2400Mi

actual usage when e2e-tests are running:
Screenshot 2024-03-14 at 7 23 07

11 changes: 11 additions & 0 deletions components/gitops/development/gitops-service-argocd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: gitops-service-argocd
namespace: gitops-service-argocd
spec:
repo:
resources:
requests:
cpu: 100m
memory: 100Mi
Copy link
Member Author

@psturc psturc Mar 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous requests:

              cpu: 500m
              memory: 512Mi

actual usage when e2e-tests are running:
Screenshot 2024-03-14 at 7 24 32

5 changes: 5 additions & 0 deletions components/gitops/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ images:
- name: \${COMMON_IMAGE}
newName: quay.io/redhat-appstudio/gitops-service
newTag: 87e1f9acc67bf033d2159951ba6489f0836586ef

patches:
- path: core_service_resources_patch.yaml
- path: service_agent_resources_patch.yaml
- path: gitops-service-argocd.yaml
15 changes: 15 additions & 0 deletions components/gitops/development/service_agent_resources_patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitops-service-agent-controller-manager
namespace: gitops
spec:
template:
spec:
containers:
- name: manager
resources:
requests:
cpu: 50m
memory: 100Mi
Copy link
Member Author

@psturc psturc Mar 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous requests:

              cpu: 200m
              memory: 300Mi

actual usage when e2e-tests are running:
Screenshot 2024-03-14 at 7 23 44

Loading