smaller adjustments

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

View File

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

View File

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

View File

@ -6,3 +6,12 @@ kubectl apply -k ./01-metallb
# Install argoCD for deployment and secret management # Install argoCD for deployment and secret management
kubectl apply -k ./02-argocd kubectl apply -k ./02-argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml 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'