By default, one job uses a whole GPU Kubernetes hands GPUs to pods in whole units. In the default dedicated mode, one job uses an entire GPU.
Even if the job uses only part of the GPU, no other job can share it. The more small jobs you have, the more GPU capacity sits idle.
The GPU Operator hands out the GPUs The GPU Operator, the vendor's management component, is what actually hands out GPUs. Its device plugin advertises GPUs to Kubernetes as a resource.
You usually install the GPU Operator with Helm. It can deploy the driver as a container or use a driver preinstalled on the node. The result shows up as an nvidia.com/gpu count in the node's allocatable.
Key idea Without the GPU Operator or a device plugin, no nvidia.com/gpu resource appears on the node. Pods that request a GPU find no node to run on and stay Pending.
MIG partitions one GPU in hardware MIG (Multi-Instance GPU) splits one GPU into hardware partitions that act like separate GPUs. A cluster admin sets the partition layout on the node (for example, the nvidia.com/mig.config label), and the GPU Operator's MIG Manager applies it to the device.
The partitions cannot add up to more than the whole GPU, and each model supports fixed profiles. Only some Ampere-or-later models support MIG (for example, NVIDIA A100, A30, H100). With the single strategy each slice is advertised as nvidia.com/gpu; with mixed, by profile name such as nvidia.com/mig-1g.10gb.
What changed in this step
One job per partition, no interference Each partition is assigned to one job, like a separate GPU. Memory and compute are separated, so a busy job does not affect the partition next to it.
However, to change the layout the MIG Manager first stops all GPU pods on the node, including the device plugin and DCGM Exporter, and no user workloads may run on those GPUs. Enabling MIG mode can also require a node reboot, for example on some cloud VMs.
Time-Slicing is a sharing setting on top of dedicated or MIG Time-Slicing is not a standalone mode. In the GPU Operator config (a ConfigMap), you add it on top of dedicated or MIG as "share, split into N replicas".
You cannot apply it to a single card. Every GPU of that resource on the node is split into the same number of replicas. The GPU Operator does not watch this ConfigMap, so after editing it you restart the device plugin DaemonSet (kubectl rollout restart).
What changed in this step
~ Mode: Dedicated + shared ×3Jobs take turns, splitting the time Three jobs take turns on one GPU in time slices. This suits running many light jobs, such as quick experiments or dev environments.
But memory is not separated, so isolation is weak. If one job uses a lot of memory, it affects the other jobs on the same GPU.
Watch out Time-Slicing means "take turns", not "each owns a share". Jobs that must not affect each other belong on MIG or dedicated GPUs.
Request a GPU in the workload and one is assigned A developer writes the GPU count in the pod spec's resources.limits, such as nvidia.com/gpu: 1. The pod requests the GPU as a required resource. Kubernetes places it on a node with a GPU, and the device plugin attaches the GPU.
The sharing mode is a cluster-wide setting, so cluster admins decide it. Developers only request GPUs in their own namespace.
Visible metrics depend on the sharing mode The GPU Operator's metrics exporter (DCGM Exporter) publishes usage on port 9400. Prometheus collects it, and a dashboard such as Grafana shows utilization, memory, temperature, power, and pod assignments.
Dedicated and MIG show per-pod usage. When Time-Slicing is on, DCGM Exporter cannot associate metrics with containers, so you see only whole-GPU values. MIG also reports separate metrics per partition (GPU instance).
Watch out This is not a bug to fix. NVIDIA documents it as a Time-Slicing limitation. When jobs share time, you cannot tell which job the current usage belongs to.
Choose a mode by isolation and visibility Dedicated gives one job a whole GPU. MIG gives each job one hardware partition. Time-Slicing adds time sharing on top. Each step shares more, but weakens isolation and per-pod metrics.
Check the current mode with the node labels and the GPU resource name and count in allocatable. If metrics are empty, first tell apart a collection failure from a value the mode never reports.
Summary Dedicated has the strongest isolation. MIG splits in hardware and keeps isolation and metrics. Time-Slicing shares the most but loses isolation and per-pod metrics. Pick by workload type.