mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat: add node-feature-discovery and intel-device-plugins
label nodes with features to enable e.g. Intel iGPU support
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: intel-device-plugins-gpu
|
||||
repo: https://intel.github.io/helm-charts/
|
||||
version: 0.30.0
|
||||
namespace: intel-device-plugins
|
||||
releaseName: intel-device-plugins-gpu
|
||||
includeCRDs: true
|
||||
valuesFile: values.yaml
|
||||
@@ -0,0 +1,6 @@
|
||||
name: igpu
|
||||
sharedDevNum: 5
|
||||
enableMonitoring: true
|
||||
nodeFeatureRule: false
|
||||
nodeSelector:
|
||||
intel.feature.node.kubernetes.io/gpu: 'true'
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ns.yaml
|
||||
- operator
|
||||
- gpu
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: intel-device-plugins
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: intel-device-plugins-operator
|
||||
repo: https://intel.github.io/helm-charts/
|
||||
version: 0.30.0
|
||||
namespace: intel-device-plugins
|
||||
releaseName: intel-device-plugins-operator
|
||||
includeCRDs: true
|
||||
@@ -0,0 +1,21 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ns.yaml
|
||||
# NFD rules for Intel HW
|
||||
- https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/node-feature-rules?ref=v0.29.0
|
||||
|
||||
# https://kubernetes-sigs.github.io/node-feature-discovery/v0.16/deployment/helm.html
|
||||
helmCharts:
|
||||
- name: node-feature-discovery
|
||||
repo: https://kubernetes-sigs.github.io/node-feature-discovery/charts
|
||||
version: 0.16.0
|
||||
releaseName: nfd
|
||||
includeCRDs: true
|
||||
namespace: node-feature-discovery
|
||||
valuesInline:
|
||||
worker:
|
||||
config:
|
||||
core:
|
||||
sleepInterval: 0s
|
||||
@@ -0,0 +1,2 @@
|
||||
core:
|
||||
sleepInterval: 0s
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: node-feature-discovery
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
Reference in New Issue
Block a user