add probes

This commit is contained in:
2025-04-16 22:34:15 +02:00
parent a015576d52
commit 1ac1796f3f
2 changed files with 12 additions and 10 deletions
+12
View File
@@ -71,6 +71,18 @@ spec:
readOnly: true
mountPath: /data/homeserver.yaml
subPath: homeserver.yaml
readinessProbe:
httpGet:
path: /health
port: 8008
initialDelaySeconds: 15
periodSeconds: 10
livenessProbe:
httpGet:
path: /health
port: 8008
initialDelaySeconds: 15
periodSeconds: 10
volumes:
- name: synapse-config
configMap:
-10
View File
@@ -1,10 +0,0 @@
[Unit]
Description=A kubernetes yaml based service
Before=local-fs.target
[Kube]
Yaml=/home/legonzaur/.config/containers/systemd/synapse.kube
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target