You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: gpu-aware-scheduling/docs/usage.md
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,26 @@
1
1
# Usage with NFD and GPU-plugin
2
-
This document explains how to get GAS working together with [Node Feature Discovery](https://github.com/kubernetes-sigs/node-feature-discovery) and the [GPU-plugin](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/gpu_plugin/README.md).
2
+
This document explains how to get GAS working together with [Node Feature Discovery](https://github.com/kubernetes-sigs/node-feature-discovery)(NFD) and the [GPU-plugin](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/gpu_plugin/README.md).
3
3
4
-
To begin with, it will help a lot if you have been successful already using the GPU-plugin with some deployments. That means your HW and cluster is most likely fine with GAS also.
4
+
To begin with, it will help a lot if you have been successful already using the GPU-plugin with
5
+
some deployments. That means your HW and cluster is most likely fine with GAS also.
5
6
6
7
## GPU-plugin
7
-
Resource management enabled version of the GPU-plugin is currently necessary for running GAS. The resource management enabled GPU-plugin version can read the necessary annotations of the PODs, and without those annotations, GPU allocations will not work correctly. A copy of the plugin deployment kustomization can be found from [docs/gpu_plugin](./gpu_plugin). It can be deployed simply by issuing:
8
+
Resource management is required to be enabled in GPU-plugin currently to run GAS. With resource
9
+
management enabled, GPU-plugin can read the necessary annotations of the PODs. Without reading
10
+
those annotations, GPU allocations will not work correctly. A copy of the plugin deployment
11
+
kustomization can be found from [docs/gpu_plugin](./gpu_plugin). It can be deployed simply by
The GPU plugin initcontainer needs to be used in order to get the extended resources created with NFD. It is deployed by the kustomization base. The initcontainer installs the required NFD-hook into the host system.
13
18
14
19
## NFD
15
-
Basically all versions starting with [v0.6.0](https://github.com/kubernetes-sigs/node-feature-discovery/releases/tag/v0.6.0) should work. You can use it to publish the GPU extended resources and GPU-related labels printed by the hook installed by the GPU-plugin initcontainer.
20
+
All versions starting with [v0.6.0](https://github.com/kubernetes-sigs/node-feature-discovery/releases/tag/v0.6.0) should work. You can use it to publish the GPU extended resources and GPU-related labels printed by the hook installed by the GPU-plugin initcontainer.
16
21
17
-
For picking up the labels printed by the hook installed by the GPU-plugin initcontainer, deploy nfd master with this kind of command in its yaml:
22
+
For NFD to pick up the labels that are printed by the hook installed by the GPU-plugin
23
+
initcontainer, nfd master deployment shold have these options in command entry of its yaml:
0 commit comments