Container resource creating method, device and equipment and computer readable storage medium

A container and resource technology, applied in the field of financial technology, can solve the problems of inability to use NodeSelector and low utilization of cluster resources

Pending Publication Date: 2019-09-10
WEBANK (CHINA)
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after creating a container resource (such as Deployment deployment), when adding a NodeSelector (node ​​selector) attribute to the container resource, each Pod (container group) contained in the container resource will not

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
  • Container resource creating method, device and equipment and computer readable storage medium
  • Container resource creating method, device and equipment and computer readable storage medium
  • Container resource creating method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] refer to figure 1 , figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0040] The container resource creation device in the embodiment of the present invention may be a smart phone, or a terminal device such as a PC (Personal Computer, personal computer), a tablet computer, or a portable computer.

[0041] Such as figure 1 As shown, the device for creating container resources may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an ...

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 relates to the technical field of financial science and technology, and discloses a container resource creating method, device and equipment and a computer readable storage medium. The method comprises the following steps: when a container resource creation request is received, obtaining a complete definition of a container resource according to the container resource creation request; reading a target namespace from the complete definition, and calling a preset interface to read an annotation of the target namespace to obtain a key value pair in the annotation; and injecting thekey value pair as a node selector attribute into a container group definition part in the complete definition to obtain an updated complete definition, and creating a corresponding container resourceand a container group based on the updated complete definition. According to the invention, when the container resources are created, the attributes of the node selectors can be automatically added to the container groups in the container resources, so that the container groups can be directionally dispatched to the optimal computing nodes in the cluster subsequently, the balanced utilization ofthe cluster resources can be ensured, and the utilization rate of the cluster resources is improved.

Description

technical field [0001] The present invention relates to the technical field of financial technology (Fintech), and in particular to a container resource creation method, device, equipment and computer-readable storage medium. Background technique [0002] With the development of computer technology, more and more technologies (big data, distributed, blockchain, artificial intelligence, etc.) The industry's security and real-time requirements also put forward higher requirements for technology. [0003] Kubernetes is an open source platform for managing containerized applications on multiple hosts in a cloud platform. Kubernetes can work well with hardware resource management and hardware resource scheduling for container applications. Users can allocate specific containers to specific Nodes (computing nodes) according to their needs, so as to use the required hardware resources, thus obtaining Wide range of applications. At present, many Internet companies or financial ins...

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
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/45562
Inventor 刘俊杰周可邸帅卢道和
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products