add dispatcharr
This commit is contained in:
39
dispatcharr/deployment.yaml
Normal file
39
dispatcharr/deployment.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: dispatcharr
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: dispatcharr
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: dispatcharr
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: dispatcharr
|
||||||
|
image: ghcr.io/dispatcharr/dispatcharr:0.8.0-amd64
|
||||||
|
env:
|
||||||
|
- name: DISPATCHARR_ENV
|
||||||
|
value: aio
|
||||||
|
- name: REDIS_HOST
|
||||||
|
value: localhost
|
||||||
|
- name: CELERY_BROKER_URL
|
||||||
|
value: redis://localhost:6379/0
|
||||||
|
- name: DISPATCHARR_LOG_LEVEL
|
||||||
|
value: info
|
||||||
|
volumeMounts:
|
||||||
|
- name: dispatcharr-data
|
||||||
|
mountPath: /data
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "3Gi"
|
||||||
|
cpu: "1"
|
||||||
|
requests:
|
||||||
|
memory: "256Mi"
|
||||||
|
cpu: "500m"
|
||||||
|
volumes:
|
||||||
|
- name: dispatcharr-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: dispatcharr
|
||||||
18
dispatcharr/ingress.yaml
Normal file
18
dispatcharr/ingress.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: dispatcharr
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: dispatcharr
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: dispatcharr.dubyatp.xyz
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: dispatcharr-svc
|
||||||
|
port:
|
||||||
|
number: 9191
|
||||||
11
dispatcharr/pvc.yaml
Normal file
11
dispatcharr/pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: dispatcharr
|
||||||
|
spec:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
10
dispatcharr/svc.yaml
Normal file
10
dispatcharr/svc.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: dispatcharr-svc
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: dispatcharr
|
||||||
|
ports:
|
||||||
|
- port: 9191
|
||||||
|
targetPort: 9191
|
||||||
Reference in New Issue
Block a user