Tweak memory requests
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
@@ -36,9 +36,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 200Mi
|
memory: 150Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 200Mi
|
memory: 150Mi
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1
|
orapiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: bsky-screenshot
|
name: bsky-screenshot
|
||||||
@@ -36,9 +36,9 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 20Mi
|
memory: 105Mi
|
||||||
requests:
|
requests:
|
||||||
memory: 20Mi
|
memory: 105Mi
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@@ -37,6 +37,11 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: ALLOWLIST
|
- name: ALLOWLIST
|
||||||
value: cdn.bsky.app
|
value: cdn.bsky.app
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 184M
|
||||||
|
limits:
|
||||||
|
memory: 184M
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@@ -34,6 +34,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: web
|
name: web
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 80M
|
||||||
|
limits:
|
||||||
|
memory: 80M
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@@ -77,7 +77,7 @@ spec:
|
|||||||
name: web
|
name: web
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 400Mi
|
memory: 800Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: git-data
|
name: git-data
|
||||||
|
@@ -106,6 +106,11 @@ spec:
|
|||||||
value: "true"
|
value: "true"
|
||||||
- name: GRIST_SANDBOX_FLAVOR
|
- name: GRIST_SANDBOX_FLAVOR
|
||||||
value: gvisor
|
value: gvisor
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 300M
|
||||||
|
limits:
|
||||||
|
memory: 300M
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
|
@@ -72,10 +72,10 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 650M
|
memory: 550M
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 650M
|
memory: 550M
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
@@ -284,9 +284,10 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1038m
|
cpu: 1038m
|
||||||
memory: 512M
|
memory: 765M
|
||||||
limits:
|
limits:
|
||||||
cpu: 1200m
|
cpu: 1200m
|
||||||
|
memory: 765M
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
mountPath: /var/www/
|
mountPath: /var/www/
|
||||||
|
@@ -78,6 +78,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 1880
|
- containerPort: 1880
|
||||||
name: web
|
name: web
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 200M
|
||||||
|
limits:
|
||||||
|
memory: 200M
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
@@ -73,7 +73,9 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 8m
|
cpu: 8m
|
||||||
memory: 1024Mi
|
memory: 1389M
|
||||||
|
limits:
|
||||||
|
memory: 1489M
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /opt/outline/.env
|
- mountPath: /opt/outline/.env
|
||||||
subPath: .env
|
subPath: .env
|
||||||
|
Reference in New Issue
Block a user