Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
chore: adjust resource limits for most workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhhx committed Dec 16, 2023
1 parent b76d964 commit c03324e
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ spec:
cpu: "200m"
memory: "256Mi"
requests:
cpu: "100m"
cpu: "50m"
memory: "128Mi"
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
passwordKey: password
resources:
limits:
cpu: "2"
memory: "2.5Gi"
requests:
cpu: "1"
memory: "1Gi"
requests:
cpu: "100m"
memory: "512Mi"
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@ spec:
- name: FORGEJO_INSTANCE_URL
value: http://forgejo-http.forgejo.svc.cluster.local:3000
resources:
limits:
requests:
cpu: "250m"
memory: "64Mi"
memory: "256Mi"
limits:
cpu: "1"
memory: "512Mi"
volumeMounts:
- name: runner-data
mountPath: /data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ spec:
value: https://auth.ab.hor.rent
resources:
requests:
cpu: "200m"
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
memory: "1Gi"
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ spec:
metallb.universe.tf/loadBalancerIPs: 10.69.0.10
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "250m"
8 changes: 4 additions & 4 deletions kubernetes/workloads/ldap/lldap/resources/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ spec:
value: "1001"
resources:
limits:
memory: "512Mi"
cpu: "500m"
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "50m"
requests:
memory: "32Mi"
cpu: "10m"
image: nitnelave/lldap:latest
name: lldap
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ spec:

resources:
limits:
cpu: "500m"
memory: "1Gi"
requests:
cpu: "250m"
cpu: "125m"
memory: "512Mi"
requests:
cpu: "50m"
memory: "128Mi"
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
resources:
limits:
cpu: "2"
memory: "2Gi"
memory: "4Gi"
requests:
cpu: "1"
cpu: "500m"
memory: "512Mi"
8 changes: 4 additions & 4 deletions kubernetes/workloads/matrix/synapse/release/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ spec:
secretName: synapse-oidc-configuration
resources:
limits:
cpu: "3"
memory: "8Gi"
cpu: "2"
memory: "4Gi"
requests:
cpu: "1"
memory: "2.5Gi"
cpu: "500m"
memory: "512Mi"

signingKey:
job:
Expand Down
12 changes: 6 additions & 6 deletions kubernetes/workloads/media/calibre/config/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ spec:
resources:
requests:
memory: "64Mi"
cpu: "250m"
cpu: "10m"
limits:
memory: "128Mi"
cpu: "500m"
memory: "256Mi"
cpu: "100m"
ports:
- name: guac
containerPort: 8080
Expand All @@ -52,10 +52,10 @@ spec:
resources:
requests:
memory: "64Mi"
cpu: "250m"
cpu: "10m"
limits:
memory: "128Mi"
cpu: "500m"
memory: "256Mi"
cpu: "100m"
ports:
- name: web
containerPort: 8083
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/workloads/media/jellyfin/release/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
resources:
limits:
cpu: "1"
memory: "8Gi"
memory: "4Gi"
requests:
cpu: "500m"
memory: "1Gi"
cpu: "250m"
memory: "512Mi"
2 changes: 1 addition & 1 deletion kubernetes/workloads/media/slskd/config/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
cpu: "250m"
limits:
memory: "2Gi"
cpu: "1"
cpu: "500m"
ports:
- containerPort: 5030
name: web
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
resources:
requests:
memory: "64Mi"
cpu: "250m"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "500m"
cpu: "250m"
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
passwordKey: db-password
resources:
limits:
cpu: 250m
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
Expand Down

0 comments on commit c03324e

Please sign in to comment.