Project | Requirement |
Kubernetes version | The version must be v1.20.15-vke.6 or later. For the method of viewing the Kubernetes version of a cluster, see FAQs. For the release notes of versions, see Kubernetes version release notes. tip If you have a cluster of v1.20.15-vke.6 or earlier, where mGPU-related businesses already exist and you want the cluster to use an mGPU computing power allocation policy, submit a ticket to obtain technical support and upgrade the Kubernetes version. |
mGPU add-on version | The version must be v0.0.3 or later. For the method of upgrading an add-on, see Upgrading add-ons. To view the release records of each add-on, see Add-on release records. |
Value | Description |
fixed-share (default) | Fixed quota. Each container has a fixed computing power quota. The quota cannot be exceeded even if there is idle GPU computing power available while the container is running. |
guaranteed-burst-share | Fixed contention. Each container has a guaranteed computing power quota. The container can also use any idle GPU computing power. |
native-burst-share | Contention mode. ou can specify a computing power quota. The higher the value, the more computing power the container can contend for. However, it is not guaranteed that each container can obtain its specified quota. |
Metric name | Metric meaning |
compute_free_weight_online | The percentage of unassigned computing power of the device (70% in this example). |
compute_load_balance_mode | The load balancing mode among containers when the containers use the device. |
compute_policy | Specify a computing power scheduling policy. Valid values:
|
compute_timeslice | The percentage of the computing power time slice. |
device_major | /dev/mgpuX is the major device number. |
instance_major | /dev/mgpuXinstY and /dev/mgpuXctl-$(container_id) are the major device numbers. |
vmem_free_bytes | The remaining GPU memory capacity of the device. Unit: byte. |