Skip to content

Commit fad24fa

Browse files
authored
Merge pull request #7 from tkatila/gpu-chart
add gpu plugin chart
2 parents 9ac746d + 39134a2 commit fad24fa

File tree

4 files changed

+80
-0
lines changed

4 files changed

+80
-0
lines changed

charts/gpu-device-plugin/Chart.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
name: intel-device-plugins-gpu
3+
description: A Helm chart for Intel GPU Device Plugin
4+
type: application
5+
version: 0.24.1-helm.0
6+
appVersion: "0.24.0"

charts/gpu-device-plugin/README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Intel GPU Device Plugin Helm Chart
2+
3+
## Get Helm Repository Info
4+
```
5+
helm repo add intel https://intel.github.io/helm-charts/
6+
helm repo update
7+
```
8+
9+
You can execute `helm search repo intel` command to see pulled charts [optional].
10+
11+
## Install Helm Chart
12+
```
13+
helm install gpu-device-plugin intel/gpu-device-plugin [flags]
14+
```
15+
## Upgrade Chart
16+
```
17+
helm upgrade gpu-device-plugin intel/gpu-device-plugin [flags]
18+
```
19+
20+
## Uninstall Chart
21+
```
22+
helm uninstall gpu-device-plugin
23+
```
24+
25+
## Configuration
26+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments:
27+
28+
```console
29+
helm show values intel/gpu-device-plugin
30+
```
31+
32+
You may also run `helm show values` on this chart's dependencies for additional options.
33+
34+
|parameter| value |
35+
|---------|-----------|
36+
| `image` | `intel/intel-gpu-plugin:0.24.0` |
37+
| `initImage` | `intel/intel-gpu-initcontainer:0.24.0` |
38+
| `sharedDevNum` | `1` |
39+
| `resourceManager` | `false` |
40+
| `enableMonitoring` | `true` |
41+
| `allocationPolicy` | `none` |
42+
| `logLevel` | `2` |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{- /*
2+
based on
3+
deployments/operator/samples/deviceplugin_v1_gpudeviceplugin.yaml
4+
*/}}
5+
6+
apiVersion: deviceplugin.intel.com/v1
7+
kind: GpuDevicePlugin
8+
metadata:
9+
name: {{ .Values.gpu.metadata.name }}
10+
spec:
11+
image: {{ .Values.gpu.spec.image }}
12+
initImage: {{ .Values.gpu.spec.initImage }}
13+
logLevel: {{ .Values.gpu.spec.logLevel }}
14+
sharedDevNum: {{ .Values.gpu.spec.sharedDevNum }}
15+
resourceManager: {{ .Values.gpu.spec.resourceManager }}
16+
enableMonitoring: {{ .Values.gpu.spec.enableMonitoring }}
17+
preferredAllocationPolicy: {{ .Values.gpu.spec.allocationPolicy }}
18+
19+
nodeSelector: {{- .Values.gpu.spec.nodeSelector | toYaml | nindent 4 }}

charts/gpu-device-plugin/values.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gpu:
2+
metadata:
3+
name: gpudeviceplugin-sample
4+
spec:
5+
image: intel/intel-gpu-plugin:0.24.0
6+
initImage: intel/intel-gpu-initcontainer:0.24.0
7+
sharedDevNum: 1
8+
logLevel: 2
9+
resourceManager: false
10+
enableMonitoring: true
11+
allocationPolicy: "none"
12+
nodeSelector:
13+
intel.feature.node.kubernetes.io/gpu: 'true'

0 commit comments

Comments
 (0)