Compare commits
2 Commits
c4c64fc40f
...
1f4756821c
Author | SHA1 | Date |
---|---|---|
Martyn | 1f4756821c | |
Martyn | 3280d74c85 |
|
@ -0,0 +1,57 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: lidarr
|
||||
name: lidarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lidarr
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: lidarr
|
||||
spec:
|
||||
containers:
|
||||
- image: hotio/lidarr:release
|
||||
name: lidarr
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 7878
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: torrents
|
||||
mountPath: /torrents
|
||||
- name: data
|
||||
mountPath: /data
|
||||
- image: imartyn/krantor
|
||||
name: krantor
|
||||
env:
|
||||
- name: PUTIO_DOWNLOAD_FOLDER_ID
|
||||
value: "1092891593"
|
||||
- name: PUTIO_WATCH_FOLDER
|
||||
value: /torrents
|
||||
- name: PUTIO_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: putio-token
|
||||
key: token
|
||||
volumeMounts:
|
||||
- name: torrents
|
||||
mountPath: /torrents
|
||||
- name: data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: lidarr-config-data
|
||||
- name: torrents
|
||||
emptyDir: {}
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
external-dns.alpha.kubernetes.io/target: drache.martyn.berlin
|
||||
kubernetes.io/ingress.class: nginx
|
||||
name: lidarr
|
||||
namespace: lidarr
|
||||
spec:
|
||||
rules:
|
||||
- host: lidarr.martyn.berlin
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: lidarr
|
||||
port:
|
||||
name: http
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- lidarr.martyn.berlin
|
||||
secretName: lidarr-tls
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: lidarr-config-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: lidarr
|
||||
name: lidarr
|
||||
spec:
|
||||
ports:
|
||||
- port: 7878
|
||||
selector:
|
||||
app: lidarr
|
|
@ -0,0 +1,57 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: sonarr
|
||||
name: sonarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: sonarr
|
||||
spec:
|
||||
containers:
|
||||
- image: hotio/sonarr:release
|
||||
name: sonarr
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8989
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: torrents
|
||||
mountPath: /torrents
|
||||
- name: data
|
||||
mountPath: /data
|
||||
- image: imartyn/krantor
|
||||
name: krantor
|
||||
env:
|
||||
- name: PUTIO_DOWNLOAD_FOLDER_ID
|
||||
value: "1092766658"
|
||||
- name: PUTIO_WATCH_FOLDER
|
||||
value: /torrents
|
||||
- name: PUTIO_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: putio-token
|
||||
key: token
|
||||
volumeMounts:
|
||||
- name: torrents
|
||||
mountPath: /torrents
|
||||
- name: data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: sonarr-config-data
|
||||
- name: torrents
|
||||
emptyDir: {}
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-config-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: sonarr
|
||||
name: sonarr
|
||||
spec:
|
||||
ports:
|
||||
- port: 8989
|
||||
selector:
|
||||
app: sonarr
|
Loading…
Reference in New Issue