Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for exclusively occupying nodes by tenants, computer equipment and storage medium

A tenant and node technology, applied in the field of cloud computing, can solve problems such as low resource utilization, complex federation mode of Kubernetes clusters, and inability to reuse, etc., to achieve the effect of improving resource utilization

Active Publication Date: 2020-10-02
TRANSWARP INFORMATION TECH SHANGHAI
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing tenant exclusive node method cannot reuse the system components in the distributed management system, resulting in low resource utilization. At the same time, the way of Kubernetes cluster federation is complicated and difficult to maintain

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
  • Method for exclusively occupying nodes by tenants, computer equipment and storage medium
  • Method for exclusively occupying nodes by tenants, computer equipment and storage medium
  • Method for exclusively occupying nodes by tenants, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1It is a flowchart of a method for a tenant to exclusively occupy a node provided in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the situation that the tenant exclusively occupies the node in the distributed management system based on the Kubernetes software framework. It can be implemented in a way and can generally be integrated in computer equipment. like figure 1 As shown, the method of the embodiment of the present invention specifically includes:

[0039] Step 101. In response to the target tenant's node exclusive request, obtain the exclusive node set requested by the target tenant, and add labels and stains to each exclusive node in the exclusive node set at the same time.

[0040] In this embodiment, a tenant refers to a user who uses a system or computing resource, and the computing resource used is dynamically created according to the user's actual service request.

[0041] Before this step, it al...

Embodiment 2

[0055] figure 2 It is a flowchart of a method for a tenant to exclusively occupy a node provided in Embodiment 2 of the present invention. This embodiment is a further refinement of the foregoing embodiments, and explanations of terms that are the same as or corresponding to those of the foregoing embodiments will not be repeated in this embodiment. The method comprises the steps of:

[0056] Step 201 , in response to the target tenant's node exclusive request, obtain the exclusive node set requested by the target tenant, and add labels and stains to each exclusive node in the exclusive node set at the same time.

[0057] Step 202, obtaining the namespace to which the container cluster corresponding to the exclusive node set belongs.

[0058] Step 203, extracting the node list included in the namespace.

[0059] Wherein, a node list including at least one node is pre-stored in the namespace, and node lists included in different namespaces are also different.

[0060] Step...

Embodiment 3

[0067] image 3 It is a schematic structural diagram of an apparatus for a tenant to exclusively occupy a node provided in Embodiment 3 of the present invention. The device can be implemented in the form of software and / or hardware, and generally can be integrated into computer equipment. like image 3 As shown, the device includes: an acquisition module 301 , an addition module 302 and a scheduling module 303 .

[0068] Among them, the obtaining module 301 is used to respond to the node exclusive request of the target tenant, obtain the exclusive node set requested by the target tenant, and add labels and stains to each exclusive node in the exclusive node set at the same time; the adding module 302 is used to When it is determined that the exclusive node set satisfies the exclusive condition, add the label selector corresponding to the exclusive node set in the scheduling rule of the container cluster corresponding to the target tenant, and declare the stain tolerance serv...

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

The invention discloses a method for exclusively occupying nodes by tenants, computer equipment and a storage medium, and the method comprises the steps: responding to a node exclusive request of a target tenant, obtaining an exclusive node set requested by the target tenant, and adding a label and stains to each exclusive node in the exclusive node set at the same time; when it is determined thatthe exclusive node set meets an exclusive condition, adding a label selector corresponding to the exclusive node set to a scheduling rule of a container cluster corresponding to the target tenant, and declaring a stain tolerance service corresponding to the exclusive node set; and scheduling the container cluster into the exclusive node set according to the label selector and the stain toleranceservice. According to the technical scheme of the embodiment of the invention, the exclusive node of the target tenant is realized, the potential safety problem among multiple tenants when the multiple tenants are scheduled to the same node is avoided, and the resource utilization rate in a distributed management system is improved.

Description

technical field [0001] Embodiments of the present invention relate to cloud computing technology, and in particular to a method for tenants to exclusively occupy nodes, computer equipment and storage media. Background technique [0002] Kubernetes is a brand new distributed management system based on container technology. In Kubernetes, multiple containers can be created, each container runs an application instance, and then through the built-in load balancing strategy, the management, discovery and access of this group of application instances can be realized. [0003] Each container in Kubernetes specifies a corresponding network tenant. When deploying tenant services, the tenant is scheduled to the corresponding node according to the tenant's scheduling rules. Among them, nodes will be added with labels or taints when deploying Kubernetes clusters. When a node is labeled, the tenant can schedule the tenant to the corresponding labeled node by adding a node selector (nod...

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 Applications(China)
IPC IPC(8): H04L29/08G06F9/50
CPCH04L67/1097G06F9/5083H04L67/60
Inventor 姜哲郑淮城吴俣铖施家川
Owner TRANSWARP INFORMATION TECH SHANGHAI