Skip to content

Commit

Permalink
feat(apps): adjust resources for apps
Browse files Browse the repository at this point in the history
  • Loading branch information
sebtiz13 committed Oct 3, 2024
1 parent 5668cb8 commit 7accf0e
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 28 deletions.
10 changes: 5 additions & 5 deletions kubernetes/core/common/base/external-secrets/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
resources:
requests:
cpu: 10m
memory: 32Mi
limit:
memory: 48Mi
limits:
cpu: 100m
memory: 64Mi

Expand All @@ -40,7 +40,7 @@ spec:
requests:
cpu: 5m
memory: 32Mi
limit:
limits:
cpu: 10m
memory: 64Mi

Expand All @@ -49,6 +49,6 @@ spec:
requests:
cpu: 5m
memory: 64Mi
limit:
limits:
cpu: 10m
memory: 96Mi
memory: 128Mi
16 changes: 16 additions & 0 deletions kubernetes/core/common/base/kube-system/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ spec:
name: openebs-zfslocalpv
namespace: flux-system
values:
zfsNode:
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi
zfsController:
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
crds:
zfsLocalPv:
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions kubernetes/core/common/base/traefik/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ spec:

resources:
requests:
cpu: 2m
memory: 64Mi
limit:
cpu: 10m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi

metrics:
prometheus:
Expand Down
22 changes: 11 additions & 11 deletions kubernetes/core/salamandre/base/cert-manager/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@ spec:
resources:
requests:
cpu: 10m
memory: 32Mi
limit:
memory: 48Mi
limits:
cpu: 30m
memory: 64Mi
memory: 96Mi

webhook:
resources:
requests:
cpu: 2m
memory: 16Mi
limit:
memory: 24Mi
limits:
cpu: 5m
memory: 32Mi
memory: 48Mi

cainjector:
resources:
requests:
cpu: 2m
memory: 48Mi
limit:
cpu: 5m
memory: 64Mi
cpu: 4m
memory: 128Mi
limits:
cpu: 20m
memory: 256Mi
8 changes: 8 additions & 0 deletions kubernetes/core/salamandre/base/database/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ spec:

crds:
create: false

resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
6 changes: 3 additions & 3 deletions kubernetes/core/salamandre/base/zitadel/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ spec:
resources:
requests:
memory: 96Mi
cpu: 10m
cpu: 20m
limits:
memory: 128Mi
cpu: 100m
memory: 192Mi
cpu: 200m

service:
annotations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ spec:

resources:
requests:
cpu: 2m
memory: 32Mi
limits:
cpu: 6m
cpu: 4m
memory: 64Mi
limits:
cpu: 10m
memory: 128Mi


deploymentAnnotations:
Expand Down
5 changes: 3 additions & 2 deletions kubernetes/services/salamandre/base/forgejo/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
DEFAULT_KEEP_EMAIL_PRIVATE: true
SHOW_REGISTRATION_BUTTON: false
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
OFFLINE_MODE: false
cache:
ADAPTER: memory
session:
Expand All @@ -74,8 +75,8 @@ spec:

resources:
requests:
cpu: 20m
memory: 128Mi
cpu: 30m
memory: 192Mi
limits:
cpu: 200m
memory: 256Mi
Expand Down

0 comments on commit 7accf0e

Please sign in to comment.