This repository has been archived on 2026-01-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
aggarwalakshun 27b6de3641
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 15s
add db, ingress, pvc, secrets, svc, and deployment for jellystat
2025-12-28 07:31:21 +05:30

56 lines
1.3 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: jellystat
namespace: monitoring
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: jellystat
template:
metadata:
labels:
app: jellystat
spec:
containers:
- name: jellystat
image: cyfershepard/jellystat:1.1.7
readinessProbe:
exec:
command:
- bash
- -c
- |
(echo >/dev/tcp/jellystat-db.monitoring.svc.cluster.local/5432)
initialDelaySeconds: 5
periodSeconds: 5
failureThreshold: 3
env:
- name: JWT_SECRET
valueFrom:
secretKeyRef:
name: jellystat-secret
key: jwt
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: jellystat-secret
key: password
- name: POSTGRES_IP
value: "jellystat-db.monitoring.svc.cluster.local"
- name: POSTGRES_PORT
value: "5432"
- name: POSTGRES_USER
value: "postgres"
volumeMounts:
- name: backups
mountPath: /app/backend/backup-data
volumes:
- name: backups
persistentVolumeClaim:
claimName: jellystat-backups-longhorn