add setenv
This commit is contained in:
10
README.md
10
README.md
@@ -1,5 +1,15 @@
|
|||||||
# Jellyfin
|
# Jellyfin
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Set up the media pv
|
||||||
|
kubectl apply -f media.yaml
|
||||||
|
|
||||||
|
# Install jellyfin
|
||||||
|
helm upgrade --install jellyfin ./helm
|
||||||
|
```
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -43,11 +43,11 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "8Gi"
|
memory: "10Gi"
|
||||||
cpu: "4"
|
cpu: "6"
|
||||||
requests:
|
requests:
|
||||||
memory: "1Mi"
|
memory: "512Mi"
|
||||||
cpu: "1m"
|
cpu: "1"
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
|
|||||||
@@ -8,11 +8,8 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
claimRef:
|
|
||||||
namespace: ducoterra
|
|
||||||
name: nfs-media
|
|
||||||
nfs:
|
nfs:
|
||||||
server: freenas # replace with your nfs server IP or hostname
|
server: 3.14.3.101 # replace with your nfs server IP or hostname
|
||||||
path: "/mnt/enc0/media" # replace with your mount path
|
path: "/mnt/enc0/media" # replace with your mount path
|
||||||
---
|
---
|
||||||
# nfs-pvc.yaml
|
# nfs-pvc.yaml
|
||||||
@@ -21,7 +18,6 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: nfs-media
|
name: nfs-media
|
||||||
namespace: ducoterra
|
|
||||||
spec:
|
spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
Reference in New Issue
Block a user