A GPU is a counted resource

Lesson 9 of 28 · GPUs on Kubernetes · 2 min Get the course to watch

Kubernetes has never heard of a GPU. It knows CPU and memory natively, and everything else arrives through a plugin. If your pod spec asks for a GPU the wrong way, the best case is a pod that never schedules, and the worst case is a pod that quietly grabs every GPU on the node.

Let's see how a GPU becomes something the scheduler can count, what the rules are for asking for one, and the trap hiding in those rules.

The rest of this lesson

  • The device plugin
  • Asking for one
  • The mistake to avoid
  • When there are none

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Run AI in production on Kubernetes.