Compare commits
No commits in common. "4e762703badf9242e6002375aec0804f2de7dfde" and "4a49889fde90d20efc2a82d62851abe6c24cf7e8" have entirely different histories.
4e762703ba
...
4a49889fde
8 changed files with 51 additions and 81 deletions
|
@ -1,11 +1,12 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: radarr
|
name: radarr
|
||||||
namespace: default
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: radarr
|
app: radarr
|
||||||
spec:
|
spec:
|
||||||
|
serviceName: headless-radarr
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
@ -26,16 +27,9 @@ spec:
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: America/New_York
|
value: America/New_York
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: "512Mi"
|
|
||||||
cpu: "1"
|
|
||||||
limits:
|
|
||||||
memory: "4Gi"
|
|
||||||
cpu: "4"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: radarr-config
|
name: config
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: nas
|
name: nas
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -43,33 +37,12 @@ spec:
|
||||||
nfs:
|
nfs:
|
||||||
path: /mnt/thePool/thePoolShare
|
path: /mnt/thePool/thePoolShare
|
||||||
server: 10.0.0.10
|
server: 10.0.0.10
|
||||||
- name: radarr-config
|
volumeClaimTemplates:
|
||||||
persistentVolumeClaim:
|
- metadata:
|
||||||
claimName: radarr-config
|
name: config
|
||||||
---
|
spec:
|
||||||
apiVersion: v1
|
accessModes: ["ReadWriteOnce"]
|
||||||
kind: PersistentVolumeClaim
|
resources:
|
||||||
metadata:
|
requests:
|
||||||
name: radarr-config
|
storage: 5Gi
|
||||||
namespace: default
|
storageClassName: longhorn
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
storageClassName: longhorn
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: headless-radarr
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: radarr
|
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
|
||||||
- port: 7878
|
|
||||||
targetPort: 7878
|
|
||||||
protocol: TCP
|
|
13
apps/production/radarr/service.yaml
Normal file
13
apps/production/radarr/service.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: headless-radarr
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: radarr
|
||||||
|
type: LoadBalancer
|
||||||
|
ports:
|
||||||
|
- port: 7878
|
||||||
|
targetPort: 7878
|
||||||
|
protocol: TCP
|
|
@ -1,11 +1,12 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: sabnzbd
|
name: sabnzbd
|
||||||
namespace: default
|
namespace: default
|
||||||
labels:
|
labels:
|
||||||
app: sabnzbd
|
app: sabnzbd
|
||||||
spec:
|
spec:
|
||||||
|
serviceName: headless-sabnzbd
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
@ -26,16 +27,9 @@ spec:
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: America/New_York
|
value: America/New_York
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: "512Mi"
|
|
||||||
cpu: "1"
|
|
||||||
limits:
|
|
||||||
memory: "4Gi"
|
|
||||||
cpu: "4"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: sabnzbd-config
|
name: config
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: nas
|
name: nas
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -43,35 +37,12 @@ spec:
|
||||||
nfs:
|
nfs:
|
||||||
path: /mnt/thePool/thePoolShare
|
path: /mnt/thePool/thePoolShare
|
||||||
server: 10.0.0.10
|
server: 10.0.0.10
|
||||||
- name: sabnzbd-config
|
volumeClaimTemplates:
|
||||||
persistentVolumeClaim:
|
- metadata:
|
||||||
claimName: sabnzbd-config
|
name: config
|
||||||
nodeSelector:
|
spec:
|
||||||
kubernetes.io/hostname: k3s-master3
|
accessModes: ["ReadWriteOnce"]
|
||||||
---
|
resources:
|
||||||
apiVersion: v1
|
requests:
|
||||||
kind: PersistentVolumeClaim
|
storage: 2Gi
|
||||||
metadata:
|
storageClassName: longhorn
|
||||||
name: sabnzbd-config
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 2Gi
|
|
||||||
storageClassName: longhorn
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: headless-sabnzbd
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: sabnzbd
|
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
|
||||||
- port: 8080
|
|
||||||
targetPort: 8080
|
|
||||||
protocol: TCP
|
|
13
apps/production/sab/service.yaml
Normal file
13
apps/production/sab/service.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: headless-sabnzbd
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: sabnzbd
|
||||||
|
type: LoadBalancer
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
targetPort: 8080
|
||||||
|
protocol: TCP
|
|
@ -9,5 +9,5 @@ spec:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
nfs:
|
nfs:
|
||||||
path: /mnt/thePool/thePoolShare
|
path: /mnt/thePool/thePoolShare
|
||||||
server: 10.0.0.10
|
server: ${NAS_SERVER}
|
||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
|
Loading…
Reference in a new issue