Cloud Instance Resource Scaling Without Pod Recreation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cloud instance scaling methods, such as Kubernetes' VPA, interrupt services when modifying resource quotas by requiring pod recreation, leading to service disruptions.

Innovation Solution

A cloud instance scaling method where worker nodes analyze status information to determine instances needing scaling, adjusting resource quotas in real time without recreating pods, using cgroup configurations to avoid interruptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the resource quota of a pod is modified by releasing and recreating the pod, then the resource quota can be changed, but the service running on the pod is interrupted

Engineering Contradiction:
Improveresource quota flexibilityVSAvoidservice continuity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies dynamics by enabling the resource quota of running pods to be modified in real-time without requiring pod recreation. The system dynamically adjusts resource allocations by modifying cgroup configurations of running containers, allowing the resource quota to adapt to changing requirements while the pod and its services continue to run uninterrupted.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of resource quota allocation from a static value set at pod creation to a dynamic value that can be modified during pod runtime. By changing the resource quota parameter through cgroup configuration adjustments rather than pod recreation, the system achieves flexible resource management without service interruption.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the pod is recreated to modify resource quota, then the resource quota can be updated, but the detection and scaling time increases

Engineering Contradiction:
Improveresource quota update capabilityVSAvoidscaling time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-configuring the cgroup hierarchy and resource management structures during container initialization, enabling rapid resource quota adjustments later without requiring pod recreation. The foundational infrastructure is prepared in advance, allowing quick modification of resource allocations when scaling is needed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements dynamic resource quota modification that eliminates the time-consuming pod recreation process. Resource allocations can be adjusted in real-time by modifying cgroup parameters, enabling the system to respond quickly to scaling requirements without the delays associated with releasing and recreating pods.

Inventive Principle:
Principle #15Dynamics

3Extent of automation

If centralized management is implemented on all dockers by the master node, then orchestration and deployment can be managed, but the complexity of resource management increases

Engineering Contradiction:
Improvecentralized orchestration capabilityVSAvoidresource management complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent introduces worker nodes as intermediaries between the master node and individual pods. The worker nodes handle the complex task of monitoring pod resource usage and executing resource quota modifications locally, while the master node maintains centralized orchestration and management. This intermediary layer distributes the management complexity from the master node to the worker nodes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the resource management function by separating the orchestration role (master node) from the execution role (worker nodes). The master node handles high-level orchestration and deployment, while worker nodes handle specific pod resource management tasks. This segmentation reduces the complexity burden on any single component of the system.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12530241B2Cloud instance scaling method and related device thereof
Publication Date: 2026.01.20 HUAWEI TECH CO LTD
  • US12530241B2 patent drawing
  • US12530241B2 patent drawing
  • US12530241B2 patent drawing

AI summary

This application provides a cloud instance scaling method and a related device thereof, to ensure that a service running on a cloud instance is not interrupted when a resource quota of the cloud instance is increased or decreased. The method in this application includes: A first worker node obtains status information of a plurality of cloud instances. The first worker node determines, based on the status information, a to-be-scaled-up cloud instance from the plurality of cloud instances and a quantity of resources required for scale-up. If a quantity of idle resources of the first worker node is greater than or equal to the quantity of resources required for scale-up, the first worker node increases a resource quota of the to-be-scaled-up cloud instance based on the quantity of resources required for scale-up.