Decoupled Pod and GPU Node Allocation in Kubernetes Clusters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current resource allocation methods in machine learning scenarios, such as Kubernetes clusters, have low resource utilization rates as they only allocate nodes with GPU resources to pods, failing to optimize the use of available resources across different nodes.

Innovation Solution

A method and apparatus for resource allocation that creates a pod for a target task, acquires GPU resource requirements, and allocates two target nodes: one where the GPU resource is located and another where the pod is allocated, allowing decoupling of node and GPU resource allocation, thereby improving resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If only nodes with GPU resources are allocated to pods, then GPU resource allocation is ensured, but resource utilization rate is low

Engineering Contradiction:
ImproveGPU resource allocationVSAvoidresource utilization rate
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the allocation of nodes and GPU resources by introducing two distinct node types: first target nodes for pod placement and second target nodes for GPU resource location. This segmentation allows independent optimization of pod scheduling and GPU allocation, enabling non-GPU nodes to host pods while GPU resources are allocated from dedicated GPU nodes, thereby improving overall resource utilization while ensuring GPU availability.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If single node allocation is used, then allocation simplicity is maintained, but resource utilization and efficiency are limited

Engineering Contradiction:
Improveallocation simplicityVSAvoidresource utilization
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent transitions from a single-dimension allocation model (one node for both pod and GPU) to a two-dimension allocation model (separate first target nodes for pods and second target nodes for GPUs). This dimensional expansion enables the system to utilize non-GPU nodes for pod hosting while dedicating GPU nodes for computation, effectively adding a new degree of freedom to resource allocation and improving utilization without significantly increasing complexity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS20240036926A1Resource Allocation Method, Electronic Device and Storage Medium
Publication Date: 2024.02.01 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20240036926A1 patent drawing
  • US20240036926A1 patent drawing
  • US20240036926A1 patent drawing

AI summary

Provided is a resource allocation method, an electronic device and a storage medium, relating to the field of computer technology, and in particular to fields of resource management, task allocation and the like in computer technology. The resource allocation method includes: creating a pod for a target task; acquiring Graphics Processing Unit (GPU) resource requirement information of the target task; acquiring available node information of a target cluster and available GPU resource information of the target cluster; and allocating, based on the available node information and the available GPU resource information, first and second target nodes satisfying the GPU resource requirement information to the pod, where the first target node is a node where a target GPU resource allocated to the pod is located, and the second target node is a node where the pod allocated to the pod is located.