1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: radarr
- namespace: plex
- spec:
- strategy:
- type: Recreate
- selector:
- matchLabels:
- app: radarr
- replicas: 1
- template:
- metadata:
- labels:
- app: radarr
- annotations:
- backup.velero.io/backup-volumes-excludes: plex,seedbox
- spec:
- containers:
- - name: radarr
- image: lscr.io/linuxserver/radarr:latest
- ports:
- - containerPort: 7878
- name: http-web-svc
- env:
- - name: TZ
- value: America/New_York
- - name: PUID
- value: "1000"
- - name: PGID
- value: "1000"
- volumeMounts:
- - mountPath: "/plex"
- name: plex
- - mountPath: "/seedbox"
- name: seedbox
- - mountPath: "/config"
- name: config
- resources:
- requests:
- memory: "0"
- limits:
- memory: "2Gi"
- volumes:
- - name: plex
- persistentVolumeClaim:
- claimName: plex-pvc
- - name: seedbox
- persistentVolumeClaim:
- claimName: seedbox-pvc
- - name: config
- persistentVolumeClaim:
- claimName: radarr-pvc
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: radarr-service
- namespace: plex
- spec:
- selector:
- app: radarr
- type: ClusterIP
- ports:
- - name: radarr-web-port
- protocol: TCP
- port: 7878
- targetPort: http-web-svc
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: radarr
- namespace: plex
- spec:
- entryPoints:
- - websecure
- routes:
- - kind: Rule
- match: Host(`radarr.lan.jibby.org`)
- services:
- - kind: Service
- name: radarr-service
- port: 7878
- middlewares:
- - name: lanonly
- namespace: kube-system
|