From b37cf011546db343c02ffb90ffe51685bc39252d Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 16 Oct 2024 02:23:20 +0200 Subject: [PATCH] Reorganized nfd + added intel overlay --- infrastructure/controllers/kustomization.yaml | 2 +- infrastructure/controllers/nfd/kustomization.yaml | 10 ++++++++++ infrastructure/controllers/nfd/nfd-worker.conf | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 infrastructure/controllers/nfd/kustomization.yaml create mode 100644 infrastructure/controllers/nfd/nfd-worker.conf diff --git a/infrastructure/controllers/kustomization.yaml b/infrastructure/controllers/kustomization.yaml index 9e2537d..a5baf24 100644 --- a/infrastructure/controllers/kustomization.yaml +++ b/infrastructure/controllers/kustomization.yaml @@ -7,5 +7,5 @@ resources: - traefik.yaml - cloudnative-pg.yaml # - rook.yaml - - https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default?ref=v0.16.5 + - ./nfd/ - intel.yaml diff --git a/infrastructure/controllers/nfd/kustomization.yaml b/infrastructure/controllers/nfd/kustomization.yaml new file mode 100644 index 0000000..769111f --- /dev/null +++ b/infrastructure/controllers/nfd/kustomization.yaml @@ -0,0 +1,10 @@ +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 +configMapGenerator: + - name: nfd-worker-conf + behavior: replace + files: + - nfd-worker.conf diff --git a/infrastructure/controllers/nfd/nfd-worker.conf b/infrastructure/controllers/nfd/nfd-worker.conf new file mode 100644 index 0000000..0245f59 --- /dev/null +++ b/infrastructure/controllers/nfd/nfd-worker.conf @@ -0,0 +1,3 @@ +core: + labelSources: + - "local"