apiVersion: apps/v1 kind: Deployment metadata: name: uptime-kuma namespace: uptime-kuma spec: replicas: 1 selector: matchLabels: app: uptime-kuma strategy: type: Recreate template: metadata: labels: app: uptime-kuma spec: containers: - image: louislam/uptime-kuma:1 name: uptime-kuma ports: - containerPort: 3001 protocol: TCP volumeMounts: - mountPath: /app/data name: uptime-kuma-pvc restartPolicy: Always volumes: - name: uptime-kuma-pvc persistentVolumeClaim: claimName: uptime-kuma-pvc