Files
main/argocd/apps/matrix-t0rt1k.yaml
Alexander Rogov 88ce9e5d04 reduce t0rt1k resource limits based on actual consumption
Synapse: 100Mi/4Gi → 256Mi/1.5Gi (actual ~535Mi)
MAS: 350Mi limit → 128Mi (actual ~54Mi)
LiveKit SFU: 150Mi/4Gi → 64Mi/512Mi (actual ~35Mi)
Hookshot: 1Gi limit → 256Mi (actual ~82Mi)

Saves ~7Gi of memory limits per instance
2026-06-16 23:28:59 +03:00

108 lines
2.7 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: matrix-t0rt1k
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- repoURL: http://gitea.gitea.svc.cluster.local:3000/admin/main.git
targetRevision: master
path: manifests/matrix-t0rt1k
directory:
recurse: true
include: "*.yaml"
- repoURL: ghcr.io
chart: element-hq/ess-helm/matrix-stack
targetRevision: 26.6.1
helm:
values: |
serverName: t0rt1k.tech
certManager:
clusterIssuer: letsencrypt-production
ingress:
className: traefik
postgres:
enabled: false
synapse:
postgres:
host: shared-pg-rw.cnpg.svc.cluster.local
database: synapse_t0rt1k
user: synapse_t0rt1k
password:
secret: pg-creds
secretKey: synapse
media:
storage:
size: 10Gi
ingress:
host: matrix.t0rt1k.tech
resources:
requests:
memory: 256Mi
cpu: 100m
limits:
memory: 1.5Gi
matrixAuthenticationService:
postgres:
host: shared-pg-rw.cnpg.svc.cluster.local
database: mas_t0rt1k
user: mas_t0rt1k
password:
secret: pg-creds
secretKey: mas
ingress:
host: auth.t0rt1k.tech
resources:
limits:
memory: 128Mi
elementWeb:
ingress:
host: chat.t0rt1k.tech
elementAdmin:
ingress:
host: admin.t0rt1k.tech
matrixRTC:
ingress:
host: rtc.t0rt1k.tech
sfu:
manualIP: "81.26.181.240"
useStunToDiscoverPublicIP: false
exposedServices:
rtcTcp:
port: 30007
portType: NodePort
nodePort: ""
rtcMuxedUdp:
port: 30006
portType: NodePort
nodePort: ""
resources:
requests:
memory: 64Mi
cpu: 50m
limits:
memory: 512Mi
hookshot:
enabled: true
resources:
limits:
memory: 256Mi
destination:
server: https://kubernetes.default.svc
namespace: matrix-t0rt1k
syncPolicy:
syncOptions:
- CreateNamespace=true