ML inference workload is pending

Description:

A new GPU-enabled Kubernetes cluster has just gone live. The platform team shared one simple instruction: Add gpu=enabled to schedule workloads on nodes with GPUs. A teammate deployed an ML inference application called myapp in the apps namespace. The deployment has an affinity defined to only schedule pods on nodes with the label gpu=enabled, but all pods appear as Pending. You can find the deployment definition in /home/lab/manifest.yaml.

Tasks:

  • Get all pods from the deployment myapp in the namespace apps running.

Level: Intermediate

Estimated duration: 15min

Access: Paid plan required

Tags: Kubernetes