Skip to content

Commit

Permalink
Re-adjust resource requests/limits for webhook handler
Browse files Browse the repository at this point in the history
Based on usage reported by Prometheus.
  • Loading branch information
mvandenburgh committed Jun 27, 2024
1 parent 3c3d042 commit e5c2f2b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions k8s/production/custom/webhook-handler/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ spec:
imagePullPolicy: Always
resources:
requests:
cpu: 350m
memory: 1G
cpu: 4
memory: 5G
limits:
cpu: 1600m
memory: 1G
cpu: 5
memory: 6G
ports:
- containerPort: 8080
env:
Expand Down Expand Up @@ -119,7 +119,7 @@ spec:
- name: ALLOWED_HOSTS
value: "webhook-handler.custom.svc.cluster.local"
nodeSelector:
spack.io/node-pool: base
spack.io/node-pool: beefy

---
apiVersion: apps/v1
Expand Down Expand Up @@ -151,11 +151,11 @@ spec:
imagePullPolicy: Always
resources:
requests:
cpu: 350m
memory: 1G
cpu: 3
memory: 2G
limits:
cpu: 1600m
memory: 1G
cpu: 3.5
memory: 2.5G
env:
- name: DJANGO_SETTINGS_MODULE
value: "analytics.settings.production"
Expand Down Expand Up @@ -243,4 +243,4 @@ spec:
- name: ALLOWED_HOSTS
value: "webhook-handler.custom.svc.cluster.local"
nodeSelector:
spack.io/node-pool: base
spack.io/node-pool: beefy

0 comments on commit e5c2f2b

Please sign in to comment.