diff --git a/clusters/k3s-dgx/nim-operator/kustmization.yaml b/clusters/k3s-dgx/nim-operator/kustmization.yaml new file mode 100644 index 0000000..b617fc2 --- /dev/null +++ b/clusters/k3s-dgx/nim-operator/kustmization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: nim-operator +resources: + - nim-operator-namespace.yaml + - nim-operator-helmrelease.yaml diff --git a/clusters/k3s-dgx/nim-operator/nim-operator-helmrelease.yaml b/clusters/k3s-dgx/nim-operator/nim-operator-helmrelease.yaml new file mode 100644 index 0000000..851976e --- /dev/null +++ b/clusters/k3s-dgx/nim-operator/nim-operator-helmrelease.yaml @@ -0,0 +1,24 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: nvidia + namespace: nim-operator +spec: + interval: 10m + url: https://helm.ngc.nvidia.com/nvidia +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: nim-operator + namespace: nim-operator +spec: + interval: 10m + chart: + spec: + chart: nim-operator + version: "3.1.0" + sourceRef: + kind: HelmRepository + name: nvidia + namespace: nim-operator diff --git a/clusters/k3s-dgx/nim-operator/nim-operator-namespace.yaml b/clusters/k3s-dgx/nim-operator/nim-operator-namespace.yaml new file mode 100644 index 0000000..c97372a --- /dev/null +++ b/clusters/k3s-dgx/nim-operator/nim-operator-namespace.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: nim-operator + labels: + openshift.io/cluster-monitoring: "true"