Intel GPU Device Plugin v0.37.1 (für Jellyfin ohne privileged); Template reicht kustomize-Optionen durch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -32,6 +32,10 @@ spec:
|
|||||||
{{- .source.helm.values | nindent 8 }}
|
{{- .source.helm.values | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .source.kustomize }}
|
||||||
|
kustomize:
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
destination:
|
destination:
|
||||||
server: {{ .destination.server }}
|
server: {{ .destination.server }}
|
||||||
namespace: {{ .destination.namespace }}
|
namespace: {{ .destination.namespace }}
|
||||||
|
|||||||
+34
@@ -240,6 +240,40 @@ applications:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
||||||
|
# Intel GPU device plugin: advertises the iGPU (UHD 630, /dev/dri) as the resource
|
||||||
|
# gpu.intel.com/i915, so Jellyfin can use QuickSync without running privileged.
|
||||||
|
# Upstream kustomize manifests, pinned to a release tag.
|
||||||
|
- name: intel-gpu-plugin
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/intel/intel-device-plugins-for-kubernetes.git
|
||||||
|
targetRevision: v0.37.1
|
||||||
|
path: deployments/gpu_plugin
|
||||||
|
kustomize:
|
||||||
|
namespace: intel-gpu-plugin
|
||||||
|
patches:
|
||||||
|
# MicroK8s runs the kubelet with --root-dir=$SNAP_COMMON/var/lib/kubelet,
|
||||||
|
# so the device plugin socket directory is not /var/lib/kubelet/device-plugins.
|
||||||
|
- target:
|
||||||
|
kind: DaemonSet
|
||||||
|
name: intel-gpu-plugin
|
||||||
|
patch: |-
|
||||||
|
- op: test
|
||||||
|
path: /spec/template/spec/volumes/2/name
|
||||||
|
value: kubeletsockets
|
||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/volumes/2/hostPath/path
|
||||||
|
value: /var/snap/microk8s/common/var/lib/kubelet/device-plugins
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: intel-gpu-plugin
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|
||||||
# Home Assistant (container install, hostNetwork for LAN discovery).
|
# Home Assistant (container install, hostNetwork for LAN discovery).
|
||||||
# https://homeassistant.smokyzone.de - LAN/VPN only; see homeassistant-gitops README.
|
# https://homeassistant.smokyzone.de - LAN/VPN only; see homeassistant-gitops README.
|
||||||
- name: homeassistant
|
- name: homeassistant
|
||||||
|
|||||||
Reference in New Issue
Block a user