Tweaked resources

This commit is contained in:
Marcus Noble 2022-05-27 20:06:54 +00:00
parent 5be3454e15
commit b0a846fa94
11 changed files with 31 additions and 31 deletions

View File

@ -48,6 +48,7 @@ spec:
tls:
- hosts:
- cors-proxy.cluster.fun
- cors-proxy.marcusnoble.co.uk
secretName: cors-proxy-ingress
rules:
- host: cors-proxy.cluster.fun
@ -60,23 +61,6 @@ spec:
name: cors-proxy
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: cors-proxy-mn
namespace: cors-proxy
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- cors-proxy.marcusnoble.co.uk
secretName: cors-proxy-mn-ingress
rules:
- host: cors-proxy.marcusnoble.co.uk
http:
paths:

View File

@ -68,7 +68,7 @@ metadata:
configmap.reloader.stakater.com/reload: "mastodon-env"
secret.reloader.stakater.com/reload: "mastodon"
spec:
replicas: 5
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: mastodon
@ -222,7 +222,7 @@ metadata:
configmap.reloader.stakater.com/reload: "mastodon-env"
secret.reloader.stakater.com/reload: "mastodon"
spec:
replicas: 4
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: mastodon

View File

@ -92,9 +92,9 @@ spec:
mountPath: /usr/share/nginx/html/.well-known/matrix
resources:
limits:
memory: 10Mi
memory: 5Mi
requests:
memory: 10Mi
memory: 5Mi
volumes:
- name: well-known
configMap:

View File

@ -69,9 +69,9 @@ spec:
key: password
resources:
limits:
memory: 200Mi
memory: 60Mi
requests:
memory: 200Mi
memory: 60Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress

View File

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

View File

@ -53,6 +53,12 @@ spec:
port: 4654
initialDelaySeconds: 30
timeoutSeconds: 30
resources:
limits:
memory: 80Mi
requests:
memory: 80Mi
---

View File

@ -42,7 +42,7 @@ metadata:
name: starling
namespace: starling
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: starling
@ -73,6 +73,11 @@ spec:
ports:
- containerPort: 3000
name: web
resources:
limits:
memory: 50Mi
requests:
memory: 50Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress

View File

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

View File

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

View File

@ -47,9 +47,9 @@ spec:
name: web
resources:
limits:
memory: 250Mi
memory: 100Mi
requests:
memory: 250Mi
memory: 100Mi
volumeMounts:
- name: dotenv
mountPath: /app/.env

View File

@ -115,6 +115,11 @@ spec:
ports:
- containerPort: 8080
name: web
resources:
limits:
memory: 50Mi
requests:
memory: 50Mi
---
apiVersion: networking.k8s.io/v1