Supported Kubernetes Version | TKE version ≥ v1.14.x |
Supported Node Type | Only supports native nodes. Native nodes incorporate the FinOps concept, and when used in conjunction with qGPU, can comprehensively improve GPU/CPU resource utilization. |
Supported GPU Card Architecture | Supports Volta (such as V100), Turing (such as T4), Ampere (such as A100, A10), L40 (Pnv5i), L40s (Pnv5), PNV5b, H800, PNV6, HCCPNV6, 4090, 4090d, 4990d, H800, 5090, 5090d, 5090dv2, v800, and pro5000. For pro5000, set the qgpu kernel version to v4.0.1 in component management. |
Supported Driver Version | 450/470/515/525/535/550/570/580 series. The specific minor versions are subject to the versions available in the console. |
Supported CUDA | 11.4/12.2/12.4/12.8. The specific minor versions are subject to the versions available in the console. |
Sharing Granularity | Each qGPU can be allocated a minimum of 1G video memory, with a precision unit of 1G. The minimum compute allocation is 1 (representing 1% of a card), the maximum is 100 (representing one card), and the precision unit is 1. |
Whole-Card Allocation | Nodes with qGPU capability enabled can allocate full cards in the format of tke.cloud.tencent.com/qgpu-core: 100 | 200 | ... (N * 100, where N is the number of full cards). It is recommended to use the node pools capability of TKE to distinguish NVIDIA allocation methods or switch to the qGPU usage mode. |
Quantity Limit | A maximum of 16 qGPU devices can be created on a single GPU. It is recommended to determine the number of qGPU devices that can be deployed in a shared manner on a single GPU card based on the video memory requested by the container. |
Kubernetes Object Name | Type | Requesting Resources | Namespace |
qgpu-manager | DaemonSet | One per GPU node, Memory: 300M, CPU: 0.2 | kube-system |
qgpu-manager | ClusterRole | - | - |
qgpu-manager | ServiceAccount | - | kube-system |
qgpu-manager | ClusterRoleBinding | - | kube-system |
qgpu-scheduler | Deployment | Single replica, Memory: 800M, CPU: 1 | kube-system |
qgpu-scheduler | ClusterRole | - | - |
qgpu-scheduler | ClusterRoleBinding | - | kube-system |
qgpu-scheduler | ServiceAccount | - | kube-system |
qgpu-scheduler | Service | - | kube-system |
Function | Object Involved | Operation Permission Involved |
Monitors pod status changes, obtains pod information, and cleans up resources such as qgpu devices when a pod is deleted. | pods | get/list/watch |
Monitors node status changes, obtains node information, and adds labels to nodes based on gpu card driver and version information as well as qgpu version information. | nodes | get/list/watch/update |
qgpu-scheduler is an extended scheduler for qgpu resources developed based on the Kubernetes scheduler extender mechanism. Its required permissions are the same as those of other community scheduling components (such as volcano), including monitoring and obtaining pod information, updating scheduling results to pod labels and annotations, monitoring and obtaining node information, monitoring and obtaining configured configmaps, and creating scheduling events. | pods | get/list/update/patch |
| nodes | get/list/watch |
| configmaps | get/list/watch |
| events | create/patch |
gpu.elasticgpu.io is a custom CRD resource for qgpu that records gpu resource information (this feature is deprecated, but the resource definition is retained for compatibility with older versions). It is managed by qgpu-manager and qgpu-scheduler and requires all CRUD permissions. | gpu.elasticgpu.io and gpu.elasticgpu.io/status | all permissions |
kind: ClusterRoleapiVersion: rbac.authorization.k8s.io/v1metadata:name: qgpu-managerrules:- apiGroups:- ""resources:- podsverbs:- get- list- watch- apiGroups:- ""resources:- nodesverbs:- update- get- list- watch- apiGroups:- "elasticgpu.io"resources:- gpus- gpus/statusverbs:- '*'---kind: ClusterRoleapiVersion: rbac.authorization.k8s.io/v1metadata:name: qgpu-schedulerrules:- apiGroups:- ""resources:- nodesverbs:- get- list- watch- apiGroups:- ""resources:- eventsverbs:- create- patch- apiGroups:- ""resources:- podsverbs:- update- patch- get- list- watch- apiGroups:- ""resources:- bindings- pods/bindingverbs:- create- apiGroups:- ""resources:- configmapsverbs:- get- list- watch- apiGroups:- "elasticgpu.io"resources:- gpus- gpus/statusverbs:- '*'
tke.cloud.tencent.com/qgpu-schedule-policyfixed-share (You can enter the full name or abbreviation for the Label value. For more values, refer to the table below.)
Currently, qGPU supports the following isolation policies:Label Value | Abbreviation | English Name | Chinese Name | Description |
best-effort (default value) | be | Best Effort | Best-effort mode | Default value. Pods are not limited in computing power and can use any remaining power on the card. If N Pods are started and each Pod is under heavy load, the final result is 1/N of the computing power. |
fixed-share | fs | Fixed Share | Fixed quota | Each Pod has a fixed computing power quota and cannot exceed the fixed quota, even if the GPU has idle computing power. |
burst-share | bs | Guaranteed Share with Burst | Guaranteed quota with burst capability | The scheduler guarantees a baseline computing power quota for each Pod, but any idle computing power on the GPU can be used by the Pod. For example, when the GPU has idle computing power (not allocated to other Pods), a Pod can use computing power exceeding its quota. Note that when this portion of idle computing power occupied by the Pod is allocated again, the Pod falls back to its computing power quota. |
spec:containers:resources:limits:tke.cloud.tencent.com/qgpu-memory: "5"tke.cloud.tencent.com/qgpu-core: "30"requests:tke.cloud.tencent.com/qgpu-memory: "5"tke.cloud.tencent.com/qgpu-core: "30"
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários