smaller adjustments

This commit is contained in:
Steffen Illium 2024-05-02 22:54:08 +02:00
parent 14550eab8c
commit 00399a72b5
4 changed files with 21 additions and 8 deletions

View File

@ -20,11 +20,13 @@ spec:
image: emby/embyserver:latest
ports:
- name: http
containerPort: 8096
containerPort: 8100
- name: https
containerPort: 8920
containerPort: 8101
- name: http-front
containerPort: 8080
containerPort: 8102
- name: https-front
containerPort: 8103
volumeMounts:
- mountPath: /config
name: config
@ -40,16 +42,18 @@ spec:
- mountPath: /mnt/share_music
name: media
subPath: music
resources: {}
resources:
limits:
gpu.intel.com/i915: 1 # requesting 1 GPU
livenessProbe:
httpGet:
path: /web/index.html
port: 8096
port: 8100
timeoutSeconds: 30
readinessProbe:
httpGet:
path: /web/index.html
port: 8096
port: 8100
timeoutSeconds: 30
volumes:
- name: config

View File

@ -8,7 +8,7 @@ spec:
- websecure-local
tls: {}
routes:
- match: Host(`emby.steffenillium.de`)
- match: Host(`embyk.steffenillium.de`)
kind: Rule
services:
- name: emby

View File

@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: emby
namespace: default
namespace: emby
spec:
ports:
- name: http

View File

@ -6,3 +6,12 @@ kubectl apply -k ./01-metallb
# Install argoCD for deployment and secret management
kubectl apply -k ./02-argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml
# Start NFD - if your cluster doesn't have NFD installed yet
kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd?ref=v0.29.0'
# Create NodeFeatureRules for detecting GPUs on nodes
kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/node-feature-rules?ref=v0.29.0'
# Create GPU plugin daemonset
kubectl apply -k 'https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/gpu_plugin/overlays/nfd_labeled_nodes?ref=v0.29.0'