commit 229f1b65a9f789940ee7ee515abc68f3301591d0
parent ec7696d38f2871c58998be34742217e374784992
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 12 Apr 2025 18:16:55 +0200
Add heisenbridge
Diffstat:
1 file changed, 42 insertions(+), 36 deletions(-)
diff --git a/apps/base/matrix/heisenbridge/deployment.yaml b/apps/base/matrix/heisenbridge/deployment.yaml
@@ -25,55 +25,61 @@ spec:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
- matchExpressions:
- - key: app
- operator: In
- values:
- - heisenbridge
+ matchExpressions:
+ - key: app
+ operator: In
+ values:
+ - heisenbridge
topologyKey: "kubernetes.io/hostname"
containers:
- name: heisenbridge
image: hif1/heisenbridge:1.15.3
imagePullPolicy: IfNotPresent
- args: ["-c", "/data/heisenbridge.yaml", "--listen-address", "0.0.0.0", "https://matrix.midnightthoughts.space"]
+ args:
+ [
+ "-c",
+ "/data/heisenbridge.yaml",
+ "--listen-address",
+ "0.0.0.0",
+ "https://matrix.midnightthoughts.space",
+ ]
resources:
- limits: {}
- requests:
- memory: "344Mi"
- cpu: "252m"
+ limits: {}
+ requests:
+ memory: "344Mi"
+ cpu: "252m"
securityContext:
- runAsUser: 1000
- runAsGroup: 1000
- readOnlyRootFilesystem: true
+ runAsUser: 1000
+ runAsGroup: 1000
+ readOnlyRootFilesystem: true
ports:
- - containerPort: 9898
- name: appservice
- protocol: TCP
+ - containerPort: 9898
+ name: appservice
+ protocol: TCP
volumeMounts:
- - name: config
- mountPath: "/data/heisenbridge.yaml"
- subPath: heisenbridge.yaml
- readOnly: true
- - mountPath: /tmp
- name: tmp
+ - name: config
+ mountPath: "/data/heisenbridge.yaml"
+ subPath: heisenbridge.yaml
+ readOnly: true
+ - mountPath: /tmp
+ name: tmp
livenessProbe:
- httpGet:
- path: /healthz
- port: appservice
- scheme: HTTP
- initialDelaySeconds: 15
- periodSeconds: 10
+ httpGet:
+ path: /_matrix/mau/live
+ port: appservice
+ scheme: HTTP
+ readinessProbe:
+ httpGet:
+ path: /_matrix/mau/ready
+ port: appservice
startupProbe:
- httpGet:
- path: /healthz
- port: appservice
- initialDelaySeconds: 15
- failureThreshold: 30
- periodSeconds: 10
+ httpGet:
+ path: /_matrix/mau/ready
+ port: appservice
volumes:
- name: config
secret:
- secretName: heisenbridge
+ secretName: heisenbridge
- name: tmp
emptyDir:
- sizeLimit: 2048Mi
+ sizeLimit: 2048Mi