Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Resource control method, device and related components of a k8s platform

A resource control device and resource control technology, applied in the field of K8s platform, can solve problems such as reducing the resource utilization rate of K8s platform, pod service unavailability, cluster availability impact, etc., to achieve multi-node load balancing, improve availability, and improve utilization rate Effect

Active Publication Date: 2022-04-22
北京浪潮数据技术有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] On the Kubernetes platform (hereinafter referred to as the K8s platform), pods of K8s resources will be scheduled to run on corresponding nodes according to the default resource scheduling policy when they are created. There may be cases where pods of a certain K8s resource are deployed centrally on the same node. Consider The node in the K8s platform has unstable factors. If the node goes down, all pods on the node will stop running, resulting in the unavailability of the pod service of the K8s resource, reducing the resource utilization of the K8s platform, and having a greater impact on the availability of the cluster. big impact

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource control method, device and related components of a k8s platform
  • Resource control method, device and related components of a k8s platform
  • Resource control method, device and related components of a k8s platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The core of this application is to provide a resource control method, device, electronic equipment, and computer-readable storage medium for the K8s platform, which can reschedule the pods deployed centrally on the same resource, and effectively prevent and reduce the use of node resources in the K8s platform. To solve the problem of inclination, achieve multi-node load balancing and improve the utilization of node resources; at the same time, it reduces the risk of unavailable pod services of the resources caused by node downtime in the K8s platform, and improves the availability of resource services.

[0039] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a par...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This application discloses a resource control method for the K8s platform, including: obtaining the operation information of each node in the K8s platform and the use information of each target resource, the use information including the node information where the pod is located; judging whether to There are pods to be scheduled; if so, all pods to be scheduled are scheduled to balance resources in the K8s platform. This application can reschedule the pods that are centrally deployed on the same resource, effectively prevent and reduce the inclination problem of node resource usage in the K8s platform, realize multi-node load balancing, and improve the utilization rate of node resources; The risk of the pod service of the resource being unavailable due to node downtime improves the availability of resource services. The application also discloses a K8s platform resource control device, electronic equipment and computer-readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of the K8s platform, in particular to a resource control method, device and related components of the K8s platform. Background technique [0002] On the Kubernetes platform (hereinafter referred to as the K8s platform), pods of K8s resources will be scheduled to run on corresponding nodes according to the default resource scheduling policy when they are created. There may be cases where pods of a certain K8s resource are deployed centrally on the same node. Consider The node in the K8s platform has unstable factors. If the node goes down, all pods on the node will stop running, resulting in the unavailability of the pod service of the K8s resource, reducing the resource utilization of the K8s platform, and having a greater impact on the availability of the cluster. big impact. [0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to sol...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/505
Inventor 赵宝琦
Owner 北京浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products