Kubernetes: Difference between revisions
(→run) |
|||
Line 226: | Line 226: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
==Devices== | |||
===Generic devices=== | |||
See [https://gitlab.com/arm-research/smarter/smarter-device-manager https://gitlab.com/arm-research/smarter/smarter-device-manager]<br> | |||
and [https://github.com/kubernetes/kubernetes/issues/7890#issuecomment-766088805 https://github.com/kubernetes/kubernetes/issues/7890#issuecomment-766088805] | |||
===Intel GPU=== | |||
See [https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_plugin https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/cmd/gpu_plugin] | |||
After adding the gpu plugin, add the following to your deployment. | |||
<syntaxhighlight> | |||
apiVersion: apps/v1 | |||
kind: Deployment | |||
spec: | |||
template: | |||
spec: | |||
containers: | |||
resources: | |||
limits: | |||
gpu.intel.com/i915: 1 | |||
</syntaxhighlight> | |||
==Variants== | ==Variants== |