forked from TensorWorks/DirectX-Device-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvulkaninfo.yml
More file actions
23 lines (22 loc) · 705 Bytes
/
vulkaninfo.yml
File metadata and controls
23 lines (22 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Example Job for running the Vulkan information tool inside a container
#
# NOTE: this Job will only work when the device allocated by the WDDM device plugin is a GPU that supports
# Vulkan, otherwise the executable `vulkaninfo.exe` won't exist and the Pod will fail to start.
apiVersion: batch/v1
kind: Job
metadata:
name: example-vulkaninfo
spec:
template:
spec:
containers:
- name: example-vulkaninfo
image: "mcr.microsoft.com/windows/server:ltsc2022"
command: ["vulkaninfo.exe"]
resources:
limits:
directx.microsoft.com/display: 1
nodeSelector:
"kubernetes.io/os": windows
restartPolicy: Never
backoffLimit: 0