chore: Refactor nfs PVC resource
This commit is contained in:
parent
bd7d2794d4
commit
5c1a74db0e
10 changed files with 123 additions and 132 deletions
|
|
@ -4,6 +4,7 @@ kind: Kustomization
|
|||
namespace: radarr
|
||||
|
||||
resources:
|
||||
- ../../kustomize-bases/nfs-media
|
||||
- configmap.yaml
|
||||
- deployments.yaml
|
||||
- ingress.yaml
|
||||
|
|
@ -12,6 +13,22 @@ resources:
|
|||
- services.yaml
|
||||
- namespace.yaml
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: PersistentVolume
|
||||
name: nfs-media
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: nfs-media-radarr
|
||||
- target:
|
||||
kind: PersistentVolumeClaim
|
||||
name: nfs-media
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /spec/volumeName
|
||||
value: nfs-media-radarr
|
||||
|
||||
images:
|
||||
- name: linuxserver/radarr
|
||||
newTag: 6.1.1@sha256:6f1dda18354ea7f28cead8f6d099fc8222498c3ae165f567d504ed04d70980d7
|
||||
|
|
|
|||
|
|
@ -10,36 +10,3 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nfs-media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 40Ti
|
||||
volumeName: nfs-media-radarr
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-media-radarr
|
||||
spec:
|
||||
capacity:
|
||||
storage: 40Ti
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
nfs:
|
||||
server: 10.0.69.10
|
||||
path: /tank/media
|
||||
mountOptions:
|
||||
- vers=4.1
|
||||
- rsize=1048576
|
||||
- wsize=1048576
|
||||
- hard
|
||||
- timeo=600
|
||||
- noatime
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue