From f01b32c878ed10e64d3857fcef81f0bb095b8626 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Sat, 17 Feb 2024 20:26:48 +0100 Subject: [PATCH] chore(gpu): Disable GPU for Plex and Jellyfin Have to figure out PCI/GPU passthrough in Proxmox before it's turned on again --- .gitignore | 22 +++++++++++++++++++--- apps/media/jellyfin/deployment.yaml | 7 +++---- apps/media/plex/deployment.yaml | 2 +- infra/cilium/kustomization.yaml | 2 +- infra/cilium/values.yaml | 2 +- infra/traefik/values.yaml | 6 ------ 6 files changed, 25 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 8872292..241b384 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,21 @@ .idea charts/example -**/cilium/charts -**/traefik/charts -secret.yaml \ No newline at end of file +**/infra/*/charts +*secret*.yaml + +**/.terraform/* + +*.tfstate +*.tfstate.* + +*.tfvars +*.tfvars.json + +*.lock.hcl + +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +*.qcow2 \ No newline at end of file diff --git a/apps/media/jellyfin/deployment.yaml b/apps/media/jellyfin/deployment.yaml index fa22d49..e0d3ce0 100644 --- a/apps/media/jellyfin/deployment.yaml +++ b/apps/media/jellyfin/deployment.yaml @@ -23,9 +23,8 @@ spec: - configMapRef: name: jellyfin-env ports: - - name: dns-tcp - containerPort: 53 - protocol: TCP + - name: http + containerPort: 8096 resources: requests: cpu: 2000m @@ -33,7 +32,7 @@ spec: limits: cpu: 10000m memory: 12Gi - nvidia.com/gpu: "1" +# nvidia.com/gpu: "1" volumeMounts: - name: config mountPath: /config diff --git a/apps/media/plex/deployment.yaml b/apps/media/plex/deployment.yaml index 2c7234e..18a32db 100644 --- a/apps/media/plex/deployment.yaml +++ b/apps/media/plex/deployment.yaml @@ -20,7 +20,7 @@ spec: limits: cpu: 10000m memory: 12Gi - nvidia.com/gpu: "1" +# nvidia.com/gpu: "1" envFrom: - configMapRef: name: plex-env diff --git a/infra/cilium/kustomization.yaml b/infra/cilium/kustomization.yaml index 20136d5..15993bb 100644 --- a/infra/cilium/kustomization.yaml +++ b/infra/cilium/kustomization.yaml @@ -9,7 +9,7 @@ resources: helmCharts: - name: cilium repo: https://helm.cilium.io - version: 1.15.0-rc.0 + version: 1.15.0 releaseName: "cilium" includeCRDs: true namespace: kube-system diff --git a/infra/cilium/values.yaml b/infra/cilium/values.yaml index 51efb13..0b9398a 100644 --- a/infra/cilium/values.yaml +++ b/infra/cilium/values.yaml @@ -2,7 +2,7 @@ cluster: name: gauss id: 0 -k8sServiceHost: "192.168.1.12" +k8sServiceHost: "192.168.1.50" k8sServicePort: "6443" kubeProxyReplacement: true diff --git a/infra/traefik/values.yaml b/infra/traefik/values.yaml index f9343c0..bbd2b25 100644 --- a/infra/traefik/values.yaml +++ b/infra/traefik/values.yaml @@ -1,9 +1,3 @@ -deployment: - dnsConfig: - nameservers: - - 192.168.1.153 - - 192.168.1.154 - service: annotations: io.cilium/lb-ipam-ips: 192.168.1.142