Skip to content

Commit d184ea8

Browse files
authored
Merge pull request #1084 from obaranov1/qat-helm
QAT helm chart
2 parents d7554cd + 316eef8 commit d184ea8

File tree

5 files changed

+68
-0
lines changed

5 files changed

+68
-0
lines changed

charts/qat/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

charts/qat/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-qat
3+
description: A Helm chart for Intel QAT Device Plugin
4+
type: application
5+
version: 0.1.0
6+
appVersion: "0.24.0"

charts/qat/templates/NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Thank you for installing {{ .Chart.Name }}.

charts/qat/templates/qat.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{{- /*
2+
based on
3+
deployments/operator/samples/deviceplugin_v1_qatdeviceplugin.yaml
4+
*/}}
5+
6+
apiVersion: deviceplugin.intel.com/v1
7+
kind: QatDevicePlugin
8+
metadata:
9+
name: {{ .Values.qat.metadata.name }}
10+
annotations:
11+
{{ toYaml .Values.qat.metadata.annotations | indent 4 }}
12+
spec:
13+
image: {{ .Values.qat.spec.image }}
14+
{{- if .Values.qat.spec.initImage }}
15+
initImage: {{ .Values.qat.spec.initImage }}
16+
{{- end }}
17+
dpdkDriver: {{ .Values.qat.spec.dpdkDriver }}
18+
kernelVfDrivers:
19+
{{- range .Values.qat.spec.kernelVfDrivers }}
20+
- {{ . }}
21+
{{- end }}
22+
maxNumDevices: {{ .Values.qat.spec.maxNumDevices }}
23+
logLevel: {{ .Values.qat.spec.logLevel }}
24+
nodeSelector: {{ .Values.qat.spec.nodeSelector | toYaml | nindent 4 }}

charts/qat/values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
qat:
2+
metadata:
3+
name: qatdeviceplugin-sample
4+
spec:
5+
image: intel/intel-qat-plugin:0.24.0
6+
initImage: intel/intel-qat-initcontainer:0.24.0
7+
dpdkDriver: vfio-pci
8+
kernelVfDrivers:
9+
- c6xxvf
10+
- 4xxxvf
11+
maxNumDevices: 128
12+
logLevel: 4
13+
nodeSelector:
14+
intel.feature.node.kubernetes.io/qat: 'true'

0 commit comments

Comments
 (0)