cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit f0b7b0de500e5aa3d4eb266475da76d62ef5dd4d
parent ba2384943e4d88ea4c76b9d2f2cae6dc05687685
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Thu, 10 Jul 2025 17:00:51 +0200

Meow

Diffstat:
Mapps/base/ntfy/release.yaml | 57+++++++++++++++++++++++++++++++++++----------------------
1 file changed, 35 insertions(+), 22 deletions(-)

diff --git a/apps/base/ntfy/release.yaml b/apps/base/ntfy/release.yaml @@ -1,3 +1,18 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: ntfy-data + namespace: ntfy +spec: + resources: + requests: + storage: 200Mi + volumeMode: Filesystem + accessModes: + - ReadWriteMany + storageClassName: ceph-filesystem + +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -16,36 +31,34 @@ spec: image: binwiederhier/ntfy args: ["serve"] env: - - name: TZ - value: "Europe/Berlin" + - name: TZ + value: "Europe/Berlin" resources: - limits: - memory: "256Mi" - cpu: "700m" - requests: - memory: "128Mi" - cpu: "500m" + limits: + memory: "256Mi" + cpu: "700m" + requests: + memory: "128Mi" + cpu: "500m" ports: - - containerPort: 8080 - name: http + - containerPort: 8080 + name: http volumeMounts: - - name: ntfy-config - mountPath: /opt/docker/ntfy/config - - name: ntfy-cache - mountPath: /opt/docker/ntfy/cache - - name: ntfy-data - mountPath: /etc/ntfy/ + - name: ntfy-config + mountPath: /opt/docker/ntfy/config + - name: ntfy-cache + mountPath: /opt/docker/ntfy/cache + - name: ntfy-data + mountPath: /etc/ntfy/ volumes: - name: ntfy-config configMap: - name: ntfy-config + name: ntfy-config - name: ntfy-cache emptyDir: {} - name: ntfy-data persistentVolumeClaim: - claimName: ntfy-data - requests: - storage: 200Mi + claimName: ntfy-data --- apiVersion: v1 kind: Service @@ -72,5 +85,5 @@ spec: - notify.mtrnord.blog rules: - backendRefs: - - name: ntfy-service - port: 8080 + - name: ntfy-service + port: 8080