Adjusted resources on all deployments
All checks were successful
Check with kubeconform / lint (push) Successful in 10s

This commit is contained in:
Ultradesu
2025-07-18 13:46:54 +03:00
parent 74b7611ea0
commit 24d4d34733
19 changed files with 189 additions and 50 deletions

View File

@@ -30,6 +30,13 @@ spec:
containers: containers:
- name: gitea - name: gitea
image: 'gitea/gitea:latest' image: 'gitea/gitea:latest'
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
env: env:
- name: GITEA__service__REGISTER_MANUAL_CONFIRM - name: GITEA__service__REGISTER_MANUAL_CONFIRM
value: "true" value: "true"
@@ -82,6 +89,13 @@ spec:
containers: containers:
- name: gitea-runner - name: gitea-runner
image: gitea/act_runner:nightly image: gitea/act_runner:nightly
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "4Gi"
cpu: "2000m"
volumeMounts: volumeMounts:
- name: docker-sock - name: docker-sock
mountPath: /var/run/docker.sock mountPath: /var/run/docker.sock

View File

@@ -24,6 +24,13 @@ spec:
initContainers: initContainers:
- name: git-cloner - name: git-cloner
image: alpine/git image: alpine/git
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "200m"
command: command:
- git - git
- clone - clone
@@ -36,6 +43,13 @@ spec:
containers: containers:
- name: hexound - name: hexound
image: trafex/php-nginx:3.8.0 image: trafex/php-nginx:3.8.0
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "200m"
volumeMounts: volumeMounts:
- name: hexound-repo - name: hexound-repo
mountPath: /var/www/html mountPath: /var/www/html

View File

@@ -17,6 +17,13 @@ spec:
- name: immich-server - name: immich-server
image: ghcr.io/immich-app/immich-server:release image: ghcr.io/immich-app/immich-server:release
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2000m"
ports: ports:
- containerPort: 2283 - containerPort: 2283
env: env:
@@ -140,6 +147,13 @@ spec:
- name: immich-ml - name: immich-ml
image: ghcr.io/immich-app/immich-machine-learning:release image: ghcr.io/immich-app/immich-machine-learning:release
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "2Gi"
cpu: "1000m"
limits:
memory: "8Gi"
cpu: "4000m"
env: env:
- name: TZ - name: TZ
value: Asia/Nicosia value: Asia/Nicosia
@@ -174,6 +188,13 @@ spec:
containers: containers:
- name: redis - name: redis
image: redis:6.2-alpine image: redis:6.2-alpine
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
readinessProbe: readinessProbe:
exec: exec:
command: ["redis-cli", "ping"] command: ["redis-cli", "ping"]

View File

@@ -1,5 +1,12 @@
image: image:
tag: 10.10.7 tag: 10.10.7
resources:
requests:
memory: "2Gi"
cpu: "1000m"
limits:
memory: "8Gi"
cpu: "4000m"
nodeSelector: nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net kubernetes.io/hostname: master.tail2fe2d.ts.net
persistence: persistence:

View File

@@ -23,6 +23,13 @@ spec:
- name: khm - name: khm
image: 'ultradesu/khm:latest' image: 'ultradesu/khm:latest'
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
command: command:
- /bin/sh - /bin/sh
- -c - -c

View File

@@ -8,12 +8,12 @@ nodeSelector:
kubernetes.io/hostname: nas.homenet kubernetes.io/hostname: nas.homenet
resources: resources:
limits:
cpu: 1000m
memory: 1Gi
requests: requests:
cpu: 200m memory: "512Mi"
memory: 256Mi cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
service: service:
type: ClusterIP type: ClusterIP

View File

@@ -1,8 +1,22 @@
image: image:
tag: 2.15.3 tag: 2.15.3
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2000m"
initContainers: initContainers:
install-tesseract-langs: install-tesseract-langs:
image: ghcr.io/paperless-ngx/paperless-ngx:2.15.1 image: ghcr.io/paperless-ngx/paperless-ngx:2.15.1
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
command: ["/bin/sh", "-c"] command: ["/bin/sh", "-c"]
args: args:
- apt-get update && apt-get install -y --reinstall tesseract-ocr-rus tesseract-ocr-jpn tesseract-ocr-chi-sim tesseract-ocr-eng tesseract-ocr-ell && cp -v -r /usr/share/tesseract-ocr/5/tessdata/* /custom-tessdata/ - apt-get update && apt-get install -y --reinstall tesseract-ocr-rus tesseract-ocr-jpn tesseract-ocr-chi-sim tesseract-ocr-eng tesseract-ocr-ell && cp -v -r /usr/share/tesseract-ocr/5/tessdata/* /custom-tessdata/

View File

@@ -8,12 +8,12 @@ nodeSelector:
kubernetes.io/hostname: nas.homenet kubernetes.io/hostname: nas.homenet
resources: resources:
limits:
cpu: 500m
memory: 512Mi
requests: requests:
cpu: 100m memory: "256Mi"
memory: 128Mi cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
service: service:
type: ClusterIP type: ClusterIP

View File

@@ -50,28 +50,20 @@ service:
targetPort: 21118 targetPort: 21118
resources: resources:
hbbrResource: {} hbbrResource:
# We usually recommend not to specify default resources and to leave this as a conscious requests:
# choice for the user. This also increases chances charts run on environments with little memory: "128Mi"
# resources, such as Minikube. If you do want to specify resources, uncomment the following cpu: "100m"
# lines, adjust them as necessary, and remove the curly braces after 'resources:'. limits:
# limits: memory: "512Mi"
# cpu: 100m cpu: "500m"
# memory: 128Mi hbbsResource:
# requests: requests:
# cpu: 100m memory: "128Mi"
# memory: 128Mi cpu: "100m"
hbbsResource: {} limits:
# We usually recommend not to specify default resources and to leave this as a conscious memory: "512Mi"
# choice for the user. This also increases chances charts run on environments with little cpu: "500m"
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# Additional volumes on the output Deployment definition. # Additional volumes on the output Deployment definition.
volume: {} volume: {}

View File

@@ -1,3 +1,10 @@
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
nodeSelector: nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net kubernetes.io/hostname: master.tail2fe2d.ts.net

View File

@@ -1,5 +1,12 @@
env: env:
TZ: Asia/Nicosia TZ: Asia/Nicosia
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
nodeSelector: nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net kubernetes.io/hostname: master.tail2fe2d.ts.net

View File

@@ -1,5 +1,12 @@
env: env:
TZ: Asia/Nicosia TZ: Asia/Nicosia
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
nodeSelector: nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net kubernetes.io/hostname: master.tail2fe2d.ts.net

View File

@@ -28,12 +28,12 @@ ingress:
tlsSecret: pdf-hexor-cy-tls tlsSecret: pdf-hexor-cy-tls
resources: resources:
limits:
cpu: 500m
memory: 512Mi
requests: requests:
cpu: 250m memory: "512Mi"
memory: 256Mi cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
probes: probes:
liveness: liveness:

View File

@@ -31,6 +31,13 @@ spec:
- name: vaultwarden - name: vaultwarden
image: 'vaultwarden/server:latest' image: 'vaultwarden/server:latest'
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "500m"
env: env:
- name: DOMAIN - name: DOMAIN
value: https://vw.hexor.cy value: https://vw.hexor.cy

View File

@@ -39,6 +39,13 @@ spec:
- name: bitwarden-cli - name: bitwarden-cli
image: ultradesu/bitwarden-client:2025.5.0 image: ultradesu/bitwarden-client:2025.5.0
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
env: env:
- name: BW_HOST - name: BW_HOST
valueFrom: valueFrom:

View File

@@ -20,6 +20,13 @@ spec:
- name: kubernetes-dashboard - name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.7.0 image: kubernetesui/dashboard:v2.7.0
imagePullPolicy: Always imagePullPolicy: Always
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
ports: ports:
- containerPort: 8443 - containerPort: 8443
protocol: TCP protocol: TCP
@@ -87,6 +94,13 @@ spec:
containers: containers:
- name: dashboard-metrics-scraper - name: dashboard-metrics-scraper
image: kubernetesui/metrics-scraper:v1.0.6 image: kubernetesui/metrics-scraper:v1.0.6
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "200m"
ports: ports:
- containerPort: 8000 - containerPort: 8000
protocol: TCP protocol: TCP

View File

@@ -25,6 +25,13 @@ spec:
containers: containers:
- name: beam-ng - name: beam-ng
image: 'rouhim/beammp-server' image: 'rouhim/beammp-server'
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2000m"
env: env:
- name: BEAMMP_NAME - name: BEAMMP_NAME
value: 'Anal Hexor' value: 'Anal Hexor'

View File

@@ -41,6 +41,13 @@ spec:
containers: containers:
- name: prom-a2s-exporter - name: prom-a2s-exporter
image: armsnyder/a2s-exporter:latest image: armsnyder/a2s-exporter:latest
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "200m"
ports: ports:
- containerPort: 9841 - containerPort: 9841
protocol: TCP protocol: TCP
@@ -49,6 +56,13 @@ spec:
- cs.hexor.cy:30015 - cs.hexor.cy:30015
- name: counter-strike-16 - name: counter-strike-16
image: 'kingk0der/counter-strike-1.6:latest' image: 'kingk0der/counter-strike-1.6:latest'
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "2Gi"
cpu: "1000m"
args: args:
- +log - +log
- -port - -port
@@ -56,13 +70,6 @@ spec:
envFrom: envFrom:
- configMapRef: - configMapRef:
name: cs16-server-config name: cs16-server-config
resources:
limits:
memory: 1Gi
#cpu: 1
requests:
memory: 512Mi
#cpu: 100m
ports: ports:
- containerPort: 26900 - containerPort: 26900
protocol: UDP protocol: UDP

View File

@@ -99,6 +99,13 @@ spec:
containers: containers:
- name: nginx - name: nginx
image: nginx:latest image: nginx:latest
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "200m"
ports: ports:
- containerPort: 80 - containerPort: 80
volumeMounts: volumeMounts:
@@ -136,12 +143,12 @@ spec:
- nogui - nogui
workingDir: /mc/ workingDir: /mc/
resources: resources:
limits: requests:
memory: 12Gi memory: "8Gi"
#cpu: 1 cpu: "2000m"
requests: limits:
memory: 8Gi memory: "12Gi"
#cpu: 100m cpu: "4000m"
ports: ports:
- name: game - name: game
containerPort: 25565 containerPort: 25565