From d6c86439dfeda2e20bb1b33567a3aa7a92abaa31 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Fri, 5 Feb 2021 21:16:45 -0500 Subject: [PATCH] add setenv --- README.md | 10 ++++++++++ helm/templates/deploy.yaml | 8 ++++---- media.yaml | 6 +----- setenv.sh | 1 + 4 files changed, 16 insertions(+), 9 deletions(-) create mode 100755 setenv.sh diff --git a/README.md b/README.md index fdeba66..e4cbdcf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Jellyfin +## Install + +```bash +# Set up the media pv +kubectl apply -f media.yaml + +# Install jellyfin +helm upgrade --install jellyfin ./helm +``` + ## Setup ```bash diff --git a/helm/templates/deploy.yaml b/helm/templates/deploy.yaml index 8bd62d9..24c751d 100644 --- a/helm/templates/deploy.yaml +++ b/helm/templates/deploy.yaml @@ -43,11 +43,11 @@ spec: readOnly: true resources: limits: - memory: "8Gi" - cpu: "4" + memory: "10Gi" + cpu: "6" requests: - memory: "1Mi" - cpu: "1m" + memory: "512Mi" + cpu: "1" restartPolicy: Always volumes: - name: config diff --git a/media.yaml b/media.yaml index 5fe0fa4..895a543 100644 --- a/media.yaml +++ b/media.yaml @@ -8,11 +8,8 @@ spec: accessModes: - ReadWriteMany persistentVolumeReclaimPolicy: Retain - claimRef: - namespace: ducoterra - name: nfs-media 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 --- # nfs-pvc.yaml @@ -21,7 +18,6 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: nfs-media - namespace: ducoterra spec: resources: requests: diff --git a/setenv.sh b/setenv.sh new file mode 100755 index 0000000..df02de0 --- /dev/null +++ b/setenv.sh @@ -0,0 +1 @@ +kubectl config set current-context k3os-alpha.dnet-ducoterra-jellyfin \ No newline at end of file