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

Move resource optimisation changes to Production #4426

Merged
merged 1 commit into from
Feb 13, 2025
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
18 changes: 13 additions & 5 deletions k8s/analytics/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,26 @@ api:
podAnnotations: {}
resources:
limits:
cpu: 1000m
memory: 2000Mi
cpu: 50m
memory: 1000Mi
requests:
cpu: 10m
memory: 250Mi

affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: role
operator: In
values:
- moderate-usage
weight: 1
jobs:
reports:
name: prod-analytics-report
configmap: env-analytics-report-production
devicesSummaryJob:
name: analytics-devices-summary
configmap: env-analytics-production
resources:
limits:
cpu: 1000m
Expand Down
3 changes: 0 additions & 3 deletions k8s/analytics/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
reports:
name: stage-analytics-report
configmap: env-analytics-report-staging
devicesSummaryJob:
name: stage-analytics-devices-summary
configmap: env-analytics-staging
resources:
limits:
cpu: 1000m
Expand Down
18 changes: 14 additions & 4 deletions k8s/auth-service/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,21 @@ fullnameOverride: ''
podAnnotations: {}
resources:
limits:
cpu: 100m
memory: 350Mi
cpu: 400m
memory: 600Mi
requests:
cpu: 10m
cpu: 50m
memory: 250Mi
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: role
operator: In
values:
- moderate-usage
weight: 1
volumeMounts:
- name: config-volume
mountPath: /etc/config
Expand All @@ -35,4 +45,4 @@ service:
autoscaling:
minReplicas: 1
maxReplicas: 3
targetMemoryUtilizationPercentage: 70
targetMemoryUtilizationPercentage: 85
16 changes: 13 additions & 3 deletions k8s/calibrate/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@ fullnameOverride: ''
podAnnotations: {}
resources:
limits:
cpu: 100m
memory: 1500Mi
cpu: 700m
memory: 200Mi
requests:
cpu: 10m
memory: 950Mi
memory: 20Mi
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: role
operator: In
values:
- high-mem
weight: 1
volumeMounts:
- name: config-volume
mountPath: /etc/config
Expand Down
18 changes: 15 additions & 3 deletions k8s/data-mgt/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,22 @@ podAnnotations: {}
resources:
limits:
cpu: 50m
memory: 500Mi
memory: 200Mi
requests:
cpu: 10m
memory: 70Mi
cpu: 1m
memory: 100Mi
nodeSelector:
role: high-mem
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: role
operator: In
values:
- high-mem
weight: 1
ingress:
enabled: false
service:
Expand Down
22 changes: 0 additions & 22 deletions k8s/data-proxy/.helmignore

This file was deleted.

10 changes: 0 additions & 10 deletions k8s/data-proxy/Chart.yaml

This file was deleted.

Empty file removed k8s/data-proxy/charts/.gitkeep
Empty file.
22 changes: 0 additions & 22 deletions k8s/data-proxy/templates/NOTES.txt

This file was deleted.

51 changes: 0 additions & 51 deletions k8s/data-proxy/templates/_helpers.tpl

This file was deleted.

66 changes: 0 additions & 66 deletions k8s/data-proxy/templates/deployment.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions k8s/data-proxy/templates/hpa.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions k8s/data-proxy/templates/service.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions k8s/data-proxy/templates/tests/test-connection.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions k8s/data-proxy/values-prod.yaml

This file was deleted.

Loading
Loading