uptimeKuma/02-deployment.yaml
Guillaume B.B. Van Hemmen 4563ee027e #0000 - Set up Kubernetes resources for Uptime Kuma deployment
Added YAML manifests to create the namespace, PersistentVolumeClaim, Deployment, Service, and Ingress for the Uptime Kuma application. Included configurations for TLS support, liveness probe, and a restore pod template for data management. These resources aim to facilitate scalable and secure application deployment.
2025-01-20 18:44:35 +01:00

35 lines
784 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
namespace: uptime-kuma
name: app
spec:
selector:
matchLabels:
name: app
template:
metadata:
labels:
name: app
instance: production
component: frontend
part-of: uptime-kuma
managed-by: k8s-yaml
spec:
containers:
- name: app
image: louislam/uptime-kuma:1.23.16
ports:
- containerPort: 3001
volumeMounts:
- mountPath: /app/data
name: app-data
livenessProbe:
tcpSocket:
port: 3001
initialDelaySeconds: 5
periodSeconds: 10
volumes:
- name: app-data
persistentVolumeClaim:
claimName: app-data