QuestionQ60

VerifiedVirtualization technologies (VMs, containers, GPU partitioning)

A Kubernetes cluster runs a mix of AI training and inference workloads. You need inference services to receive higher priority than training jobs when resource demand peaks.

How would you configure Kubernetes to prioritize the inference workloads?

Explanation

PriorityClasses assign Pods an importance value for scheduling; Pods with higher values are queued ahead of lower-priority Pods, and Kubernetes can preempt lower-priority Pods when resources are insufficient. ResourceQuotas can limit resource consumption, including for Pods selected by PriorityClass, so training workloads cannot consume the capacity needed by higher-priority inference services.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!