feat(cuda): Running a CUDA sample pod

This commit is contained in:
Vegard Hagen
2023-11-08 21:04:46 +01:00
parent c61af77690
commit 8667f835b3
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
commonLabels:
app.kubernetes.io/managed-by: argocd
resources:
- pod.yaml

12
apps/cuda-test/pod.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Pod
metadata:
name: cuda-vectoradd
spec:
restartPolicy: OnFailure
containers:
- name: cuda-vectoradd
image: "nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1-ubuntu20.04"
resources:
limits:
nvidia.com/gpu: 1

View File

@@ -15,6 +15,8 @@ spec:
server: '*'
- namespace: 'blog'
server: '*'
- namespace: 'cuda-test'
server: '*'
- namespace: 'home-assistant'
server: '*'
- namespace: 'jellyfin'

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gpu-operator