diff --git a/synapse.yml b/synapse.yml index fbe6751..5beb603 100644 --- a/synapse.yml +++ b/synapse.yml @@ -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: diff --git a/test.kube b/test.kube deleted file mode 100644 index 25232f5..0000000 --- a/test.kube +++ /dev/null @@ -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 \ No newline at end of file