Reorganized node-feature-discovery and intel-device-plugins

This commit is contained in:
Dreaded_X 2025-02-24 03:16:23 +01:00
parent 27960b00dc
commit 4929d43f7c
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
8 changed files with 66 additions and 22 deletions

View File

@ -0,0 +1,48 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: intel-device-plugins
namespace: flux-system
spec:
interval: 15m0s
ref:
tag: v0.32.0
url: https://github.com/intel/intel-device-plugins-for-kubernetes
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: intel-node-feature-rules
namespace: flux-system
spec:
interval: 15m
path: ./deployments/nfd/overlays/node-feature-rules
dependsOn:
- name: node-feature-discovery
prune: true
timeout: 2m
sourceRef:
kind: GitRepository
name: intel-device-plugins
wait: true
---
apiVersion: v1
kind: Namespace
metadata:
name: intel-device-plugins
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: intel-gpu-plugin
namespace: flux-system
spec:
interval: 15m
path: ./deployments/gpu_plugin/overlays/nfd_labeled_nodes
targetNamespace: intel-device-plugins
prune: true
timeout: 2m
sourceRef:
kind: GitRepository
name: intel-device-plugins
wait: true

View File

@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: node-feature-discovery
namespace: flux-system
spec:
interval: 15m
path: ./infra/node-feature-discovery
prune: true
timeout: 2m
sourceRef:
kind: GitRepository
name: flux-system
wait: true

View File

@ -1,8 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.16.5
- https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/nfd/overlays/node-feature-rules?ref=v0.31.0
- https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.17.1
configMapGenerator:
- name: nfd-worker-conf
behavior: replace

View File

@ -1,11 +0,0 @@
apiVersion: deviceplugin.intel.com/v1
kind: GpuDevicePlugin
metadata:
name: gpudeviceplugin-sample
spec:
image: intel/intel-gpu-plugin:0.31.0
sharedDevNum: 10
logLevel: 4
enableMonitoring: true
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"

View File

@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/intel/intel-device-plugins-for-kubernetes/deployments/operator/device/gpu?ref=v0.31.0
- gpu-device-plugin.yaml

View File

@ -1,4 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./intel-devices
resources: []

View File

@ -1,4 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./node-feature-discovery
resources: []