Reintroduce TrueNAS storage after reconfiguration
This commit is contained in:
parent
58bc49412e
commit
b183c2bf6b
@ -38,6 +38,9 @@ spec:
|
|||||||
- mountPath: /media
|
- mountPath: /media
|
||||||
name: jf-media
|
name: jf-media
|
||||||
readOnly: True
|
readOnly: True
|
||||||
|
- mountPath: /truenas-media
|
||||||
|
name: jf-truenas-media
|
||||||
|
readOnly: True
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: jf-config
|
name: jf-config
|
||||||
- mountPath: /cache
|
- mountPath: /cache
|
||||||
@ -48,8 +51,6 @@ spec:
|
|||||||
name: jf-longhorn-tv-2
|
name: jf-longhorn-tv-2
|
||||||
- mountPath: /media-longhorn/tv-3
|
- mountPath: /media-longhorn/tv-3
|
||||||
name: jf-longhorn-tv-3
|
name: jf-longhorn-tv-3
|
||||||
# - mountPath: /media-truenas/tv-1
|
|
||||||
# name: jf-truenas-tv-1
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: face
|
- key: face
|
||||||
operator: Equal
|
operator: Equal
|
||||||
@ -59,6 +60,9 @@ spec:
|
|||||||
- name: jf-media
|
- name: jf-media
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: jf-media-pvc
|
claimName: jf-media-pvc
|
||||||
|
- name: jf-truenas-media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: jf-truenas-media-pvc
|
||||||
- name: jf-config
|
- name: jf-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: jf-config-pvc
|
claimName: jf-config-pvc
|
||||||
@ -74,9 +78,6 @@ spec:
|
|||||||
- name: jf-longhorn-tv-3
|
- name: jf-longhorn-tv-3
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: jf-longhorn-tv-3
|
claimName: jf-longhorn-tv-3
|
||||||
# - name: jf-truenas-tv-1
|
|
||||||
# persistentVolumeClaim:
|
|
||||||
# claimName: jf-truenas-tv-1
|
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -35,6 +35,32 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: jf-truenas-media-pvc
|
||||||
|
spec:
|
||||||
|
storageClassName: ""
|
||||||
|
volumeName: jf-truenas-media-pv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20T
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: jf-truenas-media-pv
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 20T
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
nfs:
|
||||||
|
server: galactus.avril
|
||||||
|
path: /mnt/low-resiliency-with-read-cache/ombi-data/
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: jf-longhorn-tv-1
|
name: jf-longhorn-tv-1
|
||||||
spec:
|
spec:
|
||||||
|
@ -103,6 +103,8 @@ spec:
|
|||||||
name: prowlarr-config
|
name: prowlarr-config
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: ombi-data
|
name: ombi-data
|
||||||
|
- mountPath: /truenas-data
|
||||||
|
name: ombi-truenas-data
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ if .Values.nzbget.enabled }}
|
{{ if .Values.nzbget.enabled }}
|
||||||
- name: nzbget
|
- name: nzbget
|
||||||
@ -140,6 +142,9 @@ spec:
|
|||||||
- name: ombi-data
|
- name: ombi-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "ombi.fullname" . }}-data-pvc
|
claimName: {{ include "ombi.fullname" . }}-data-pvc
|
||||||
|
- name: ombi-truenas-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ include "ombi.fullname" . }}-truenas-data-pvc
|
||||||
- name: sonarr-config
|
- name: sonarr-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "ombi.fullname" . }}-sonarr-config-pvc
|
claimName: {{ include "ombi.fullname" . }}-sonarr-config-pvc
|
||||||
|
@ -26,6 +26,34 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5T
|
storage: 5T
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: {{ include "ombi.fullname" . }}-truenas-data-pv
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 20T
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
nfs:
|
||||||
|
server: galactus.avril
|
||||||
|
path: /mnt/low-resiliency-with-read-cache/ombi-data/
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: {{ include "ombi.fullname" . }}-truenas-data-pvc
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
storageClassName: ""
|
||||||
|
volumeName: {{ include "ombi.fullname" . }}-truenas-data-pv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20T
|
||||||
# TODO - templatize these similar definitions
|
# TODO - templatize these similar definitions
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user