Version: Next
Allocate a whole GPU
A pod that sets only amd.com/gpu gets a whole GPU: all its compute units and all its memory.
apiVersion: v1
kind: Pod
metadata:
name: amd-gpu-pod
spec:
containers:
- name: rocm
image: rocm/dev-ubuntu-24.04:7.2.4
command: ["bash", "-c", "sleep infinity"]
securityContext:
allowPrivilegeEscalation: false
resources:
limits:
amd.com/gpu: 1 # a whole GPU: all its compute units and all its memory