Added better memory limits
This commit is contained in:
parent
a5c92eacef
commit
9a00be7aff
@ -51,9 +51,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 283Mi
|
memory: 5Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 283Mi
|
memory: 5Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -38,9 +38,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 10Mi
|
memory: 5Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 10Mi
|
memory: 5Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -37,7 +37,6 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
|
|
||||||
|
@ -89,11 +89,9 @@ spec:
|
|||||||
name: auth
|
name: auth
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
|
|
||||||
|
|
||||||
- name: web
|
- name: web
|
||||||
image: docker.cluster.fun/private/dashboard:latest
|
image: docker.cluster.fun/private/dashboard:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
@ -34,6 +34,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
name: web
|
name: web
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 20Mi
|
||||||
|
requests:
|
||||||
|
memory: 20Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -53,6 +53,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: inlets-token-volume
|
- name: inlets-token-volume
|
||||||
mountPath: /var/inlets/
|
mountPath: /var/inlets/
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 50Mi
|
||||||
|
requests:
|
||||||
|
memory: 50Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: inlets-token-volume
|
- name: inlets-token-volume
|
||||||
secret:
|
secret:
|
||||||
|
@ -220,6 +220,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: well-known
|
- name: well-known
|
||||||
mountPath: /usr/share/nginx/html/.well-known/matrix
|
mountPath: /usr/share/nginx/html/.well-known/matrix
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 5Mi
|
||||||
|
requests:
|
||||||
|
memory: 5Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: well-known
|
- name: well-known
|
||||||
configMap:
|
configMap:
|
||||||
|
@ -36,9 +36,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 100Mi
|
memory: 20Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 100Mi
|
memory: 20Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -93,9 +93,9 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
- name: web
|
- name: web
|
||||||
image: docker.cluster.fun/averagemarcus/gopherss:latest
|
image: docker.cluster.fun/averagemarcus/gopherss:latest
|
||||||
env:
|
env:
|
||||||
@ -114,6 +114,11 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: storage
|
name: storage
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 100Mi
|
||||||
|
requests:
|
||||||
|
memory: 100Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: storage
|
- name: storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
@ -36,9 +36,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 100Mi
|
memory: 50Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 100Mi
|
memory: 50Mi
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -36,9 +36,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 100Mi
|
memory: 20Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 100Mi
|
memory: 20Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -92,9 +92,9 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 125Mi
|
memory: 50Mi
|
||||||
- name: web
|
- name: web
|
||||||
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
|
image: docker.cluster.fun/averagemarcus/website-to-remarkable:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
@ -107,6 +107,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
name: web
|
name: web
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 50Mi
|
||||||
|
requests:
|
||||||
|
memory: 50Mi
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
Loading…
Reference in New Issue
Block a user