File tree Expand file tree Collapse file tree 5 files changed +37
-4
lines changed Expand file tree Collapse file tree 5 files changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,11 @@ keywords:
15
15
- gpu
16
16
17
17
kubeVersion : " >= 1.18.0"
18
- version : 0.1 .0
18
+ version : 0.2 .0
19
19
appVersion : " 1.18.0"
20
+
21
+ dependencies :
22
+ - name : node-feature-discovery
23
+ version : " 0.8.1"
24
+ repository : " https://kubernetes-sigs.github.io/node-feature-discovery/charts"
25
+ condition : nfd.enabled
Original file line number Diff line number Diff line change 1
1
# AMD GPU Helm Chart
2
2
3
- ![ Version: 0.1 .0] ( https://img.shields.io/badge/Version-0.1 .0-informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 1.18.0] ( https://img.shields.io/badge/AppVersion-1.18.0-informational?style=flat-square )
3
+ ![ Version: 0.2 .0] ( https://img.shields.io/badge/Version-0.2 .0-informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 1.18.0] ( https://img.shields.io/badge/AppVersion-1.18.0-informational?style=flat-square )
4
4
5
5
A Helm chart for deploying Kubernetes AMD GPU device plugin
6
6
7
7
## Requirements
8
8
9
9
Kubernetes: ` >= 1.18.0 `
10
10
11
+ ## Optional Dependencies
12
+
13
+ | Repository | Name | Version |
14
+ | ------------| ------| ---------|
15
+ | https://kubernetes-sigs.github.io/node-feature-discovery/charts | node-feature-discovery | 0.8.1 |
16
+
11
17
## Values
12
18
13
19
| Key | Type | Default | Description |
@@ -19,6 +25,8 @@ Kubernetes: `>= 1.18.0`
19
25
| lbl.image.repository | string | ` "docker.io/rocm/k8s-device-plugin" ` | |
20
26
| lbl.image.tag | string | ` "labeller-latest" ` | |
21
27
| namespace | string | ` "kube-system" ` | |
28
+ | nfd.enabled | bool | ` false ` | |
29
+ | node_selector."feature.node.kubernetes.io/pci-0300_1002.present" | string | ` "true" ` | |
22
30
| securityContext.allowPrivilegeEscalation | bool | ` false ` | |
23
31
| securityContext.capabilities.drop[ 0] | string | ` "ALL" ` | |
24
32
| tolerations[ 0] .key | string | ` "CriticalAddonsOnly" ` | |
Original file line number Diff line number Diff line change 18
18
imagePullSecrets :
19
19
{{- toYaml . | nindent 8 }}
20
20
{{- end }}
21
+ {{- if .Values.nfd.enabled }}
22
+ {{- with .Values.node_selector }}
23
+ nodeSelector :
24
+ {{- toYaml . | nindent 8 }}
25
+ {{- end }}
26
+ {{- end }}
21
27
{{- with .Values.tolerations }}
22
28
tolerations :
23
29
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change 41
41
labels :
42
42
name : amdgpu-lr-ds
43
43
spec :
44
+ {{- if .Values.nfd.enabled }}
45
+ {{- with .Values.node_selector }}
46
+ nodeSelector :
47
+ {{- toYaml . | nindent 8 }}
48
+ {{- end }}
49
+ {{- end }}
50
+ {{- with .Values.tolerations }}
44
51
tolerations :
45
- - key : CriticalAddonsOnly
46
- operator : Exists
52
+ {{- toYaml . | nindent 8 }}
53
+ {{- end }}
47
54
containers :
48
55
- image : {{ .Values.lbl.image.repository }}:{{ .Values.lbl.image.tag }}
49
56
name : {{ .Chart.Name }}-lr-cntr
Original file line number Diff line number Diff line change
1
+ nfd :
2
+ enabled : false
3
+
1
4
labeller :
2
5
enabled : false
3
6
@@ -25,3 +28,6 @@ securityContext:
25
28
tolerations :
26
29
- key : CriticalAddonsOnly
27
30
operator : Exists
31
+
32
+ node_selector :
33
+ feature.node.kubernetes.io/pci-0300_1002.present : " true"
You can’t perform that action at this time.
0 commit comments