Add Kubernetes deployment configurations for media applications
This commit is contained in:
parent
af48674030
commit
6fc1a3100b
6 changed files with 0 additions and 0 deletions
|
@ -1,86 +0,0 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tautulli
|
||||
namespace: media
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: tautulli
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: tautulli
|
||||
spec:
|
||||
containers:
|
||||
- name: tautulli
|
||||
image: lscr.io/linuxserver/tautulli:latest
|
||||
ports:
|
||||
- containerPort: 8181
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "America/New_York"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: tautulli-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: tautulli-config
|
||||
namespace: media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: tautulli
|
||||
namespace: media
|
||||
spec:
|
||||
selector:
|
||||
app: tautulli
|
||||
ports:
|
||||
- port: 8181
|
||||
targetPort: 8181
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: tautulli-ingress
|
||||
namespace: media
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: tautulli.local
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: tautulli
|
||||
port:
|
||||
number: 8181
|
Loading…
Add table
Add a link
Reference in a new issue