Update apps/matrix

This commit is contained in:
Nico Schottelius 2022-03-11 08:49:12 +01:00
parent 259a929f04
commit d5bcf3cd90
5 changed files with 53 additions and 8 deletions

View file

@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: nginx
image: ungleich/ungleich-certbot:1.1.1
image: ungleich/ungleich-certbot:1.1.3
ports:
- containerPort: 443
name: https
@ -43,6 +43,13 @@ spec:
mountPath: "/nginx-configs"
- name: etcletsencrypt
mountPath: "/etc/letsencrypt"
resources:
requests:
memory: {{ .Values.resources.elementnginx.memory }}
cpu: {{ .Values.resources.elementnginx.cpu }}
limits:
memory: {{ .Values.resources.elementnginx.memory }}
cpu: {{ .Values.resources.elementnginx.cpu }}
- name: element-web
command: ["nginx", "-g", "daemon off;" ]
image: vectorim/element-web:{{ .Values.elementWebVersion }}
@ -54,6 +61,13 @@ spec:
- name: elementwebconfig
mountPath: "/usr/share/nginx/html/config.json"
subPath: config.json
resources:
requests:
memory: {{ .Values.resources.element.memory }}
cpu: {{ .Values.resources.element.cpu }}
limits:
memory: {{ .Values.resources.element.memory }}
cpu: {{ .Values.resources.element.cpu }}
volumes:
- name: nginx-config
configMap:

View file

@ -34,11 +34,11 @@ spec:
subPath: postgres
resources:
requests:
memory: "64Mi"
cpu: "100m"
memory: {{.Values.resources.postgres.memory }}
cpu: {{.Values.resources.postgres.cpu}}
limits:
memory: "256Mi"
cpu: "400m"
memory: {{.Values.resources.postgres.memory}}
cpu: {{.Values.resources.postgres.cpu}}
volumes:
- name: postgres-data
persistentVolumeClaim:

View file

@ -58,6 +58,13 @@ spec:
mountPath: "/nginx-configs"
- name: etcletsencrypt
mountPath: "/etc/letsencrypt"
resources:
requests:
memory: {{ .Values.resources.synapsenginx.memory }}
cpu: {{ .Values.resources.synapsenginx.cpu }}
limits:
memory: {{ .Values.resources.synapsenginx.memory }}
cpu: {{ .Values.resources.synapsenginx.cpu }}
- name: synapse
image: matrixdotorg/synapse:{{ .Values.synapseVersion }}
command:
@ -81,6 +88,13 @@ spec:
mountPath: "/data"
- name: synapse-conf
mountPath: "/config-ro"
resources:
requests:
memory: {{.Values.resources.synapse.memory }}
cpu: {{.Values.resources.synapse.cpu}}
limits:
memory: {{.Values.resources.synapse.memory}}
cpu: {{.Values.resources.synapse.cpu}}
volumes:
- name: etcletsencrypt
persistentVolumeClaim:

View file

@ -7,8 +7,8 @@ enable_registration: false
# Maximum size of one particular file
max_filesize_in_mb: 100
elementWebVersion: "v1.9.8"
synapseVersion: "v1.49.2"
elementWebVersion: "v1.10.4"
synapseVersion: "v1.53.0"
elementWebFQDN: "{{ .Release.Name }}-element-web.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
synapseFQDN: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
@ -27,3 +27,20 @@ storage:
letsencrypt:
size: 50Mi
storageClass: rook-ceph-block-hdd
resources:
postgres:
memory: "512Mi"
cpu: "400m"
elementnginx:
memory: "64Mi"
cpu: "100m"
synapsenginx:
memory: "64Mi"
cpu: "200m"
element:
memory: "128Mi"
cpu: "100m"
synapse:
memory: "1024Mi"
cpu: "400m"

View file

@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
replicas: 6
template:
metadata:
labels: