From 3b9e6e3b6e57d7620cf2df7660d7db5da1846503 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Wed, 14 Feb 2024 15:46:46 +0100 Subject: [PATCH] Adding nvidia stuff Signed-off-by: Martyn Ranyard --- apps-kustomized/nvidiastuff/kustomization.yaml | 15 +++++++++++++++ apps-kustomized/nvidiastuff/runtimeclass.yaml | 5 +++++ everything-app/nvidiastuff.yaml | 17 +++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 apps-kustomized/nvidiastuff/kustomization.yaml create mode 100644 apps-kustomized/nvidiastuff/runtimeclass.yaml create mode 100644 everything-app/nvidiastuff.yaml diff --git a/apps-kustomized/nvidiastuff/kustomization.yaml b/apps-kustomized/nvidiastuff/kustomization.yaml new file mode 100644 index 0000000..895a62c --- /dev/null +++ b/apps-kustomized/nvidiastuff/kustomization.yaml @@ -0,0 +1,15 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: nvidia-device-plugin + +resources: + - runtimeclass.yaml + +helmCharts: +- name: nvidia-device-plugin + includeCRDs: true + namespace: nvidia-device-plugin + releaseName: node-feature-discovery + version: 0.14.4 + repo: https://nvidia.github.io/k8s-device-plugin + diff --git a/apps-kustomized/nvidiastuff/runtimeclass.yaml b/apps-kustomized/nvidiastuff/runtimeclass.yaml new file mode 100644 index 0000000..c26bd6d --- /dev/null +++ b/apps-kustomized/nvidiastuff/runtimeclass.yaml @@ -0,0 +1,5 @@ +apiVersion: node.k8s.io/v1 +kind: RuntimeClass +metadata: + name: nvidia +handler: nvidia diff --git a/everything-app/nvidiastuff.yaml b/everything-app/nvidiastuff.yaml new file mode 100644 index 0000000..5def213 --- /dev/null +++ b/everything-app/nvidiastuff.yaml @@ -0,0 +1,17 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: nvidiastuff + namespace: argocd +spec: + destination: + namespace: nvidia-device-plugin + server: https://kubernetes.default.svc + project: apps + source: + path: apps-kustomized/nvidiastuff + repoURL: https://git.martyn.berlin/martyn/infra4talos + targetRevision: HEAD + syncPolicy: + automated: + selfHeal: true