Added better memory limits

This commit is contained in:
Marcus Noble 2021-05-21 11:56:07 +01:00
parent a5c92eacef
commit 9a00be7aff
12 changed files with 41 additions and 19 deletions

View File

@ -51,9 +51,9 @@ spec:
name: web
resources:
limits:
memory: 283Mi
memory: 5Mi
requests:
memory: 283Mi
memory: 5Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -38,9 +38,9 @@ spec:
name: web
resources:
limits:
memory: 10Mi
memory: 5Mi
requests:
memory: 10Mi
memory: 5Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -37,7 +37,6 @@ spec:
resources:
limits:
memory: 10Mi
requests:
memory: 10Mi

View File

@ -89,11 +89,9 @@ spec:
name: auth
resources:
limits:
memory: 125Mi
memory: 50Mi
requests:
memory: 125Mi
memory: 50Mi
- name: web
image: docker.cluster.fun/private/dashboard:latest
imagePullPolicy: Always

View File

@ -34,6 +34,11 @@ spec:
ports:
- containerPort: 8000
name: web
resources:
limits:
memory: 20Mi
requests:
memory: 20Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -53,6 +53,11 @@ spec:
volumeMounts:
- name: inlets-token-volume
mountPath: /var/inlets/
resources:
limits:
memory: 50Mi
requests:
memory: 50Mi
volumes:
- name: inlets-token-volume
secret:

View File

@ -220,6 +220,11 @@ spec:
volumeMounts:
- name: well-known
mountPath: /usr/share/nginx/html/.well-known/matrix
resources:
limits:
memory: 5Mi
requests:
memory: 5Mi
volumes:
- name: well-known
configMap:

View File

@ -36,9 +36,9 @@ spec:
name: web
resources:
limits:
memory: 100Mi
memory: 20Mi
requests:
memory: 100Mi
memory: 20Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -93,9 +93,9 @@ spec:
protocol: TCP
resources:
limits:
memory: 125Mi
memory: 50Mi
requests:
memory: 125Mi
memory: 50Mi
- name: web
image: docker.cluster.fun/averagemarcus/gopherss:latest
env:
@ -114,6 +114,11 @@ spec:
volumeMounts:
- mountPath: /data
name: storage
resources:
limits:
memory: 100Mi
requests:
memory: 100Mi
volumes:
- name: storage
persistentVolumeClaim:

View File

@ -36,9 +36,9 @@ spec:
name: web
resources:
limits:
memory: 100Mi
memory: 50Mi
requests:
memory: 100Mi
memory: 50Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress

View File

@ -36,9 +36,9 @@ spec:
name: web
resources:
limits:
memory: 100Mi
memory: 20Mi
requests:
memory: 100Mi
memory: 20Mi
---
apiVersion: extensions/v1beta1
kind: Ingress

View File

@ -92,9 +92,9 @@ spec:
protocol: TCP
resources:
limits:
memory: 125Mi
memory: 50Mi
requests:
memory: 125Mi
memory: 50Mi
- name: web
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
imagePullPolicy: Always
@ -107,6 +107,11 @@ spec:
ports:
- containerPort: 8000
name: web
resources:
limits:
memory: 50Mi
requests:
memory: 50Mi
---
apiVersion: extensions/v1beta1
kind: Ingress