.. | ||
templates | ||
.helmignore | ||
Chart.yaml | ||
README.md | ||
values.yaml |
intel-gpu-plugin helm chart
This is a helm chart that will deploy intel-gpu-plugin as a DaemonSet.
The GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware.
TL;DR
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm install k8s-at-home/intel-gpu-plugin
Installing the Chart
To install the chart with the release name my-release
:
helm install my-release k8s-at-home/intel-gpu-plugin
Uninstalling the Chart
To uninstall/delete the my-release
deployment:
helm delete my-release --purge
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of the Sentry chart and their default values. Read through the values.yaml file. It has several commented out suggested values.
Parameter | Description | Default |
---|---|---|
image.repository |
Image repository | intel/intel-gpu-plugin |
image.tag |
Image tag. Possible values listed here. | 0.18.1 |
image.pullPolicy |
Image pull policy | IfNotPresent |
strategyType |
Specifies the strategy used to replace old Pods by new ones | Recreate |
podAnnotations |
Key-value pairs to add as pod annotations | {} |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
. For example,
helm install my-release \
--set image.pullPolicy="Always" \
k8s-at-home/intel-gpu-plugin
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
helm install my-release -f values.yaml k8s-at-home/intel-gpu-plugin
Node Feature Discovery
If your cluster runs Node Feature Discovery, you can deploy the device plugin only on nodes with Intel GPU by specifying the desired nodeSelector
or affinity
in your values. For example (make sure to update to your exact feature label):
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: feature.node.kubernetes.io/pci-0300_8086.present
operator: In
values:
- "true"