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

Resource allocation method and device, storage medium and electronic device

A method for allocating resources and a technology for resource allocation, which is applied in the field of communication and can solve problems such as inability to manage component resource quotas.

Pending Publication Date: 2022-05-10
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for allocating resources, a storage medium, and an electronic device, so as to at least solve the problems in related technologies that cannot manage resource quotas for components deployed on a cloud platform.

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 allocation method and device, storage medium and electronic device
  • Resource allocation method and device, storage medium and electronic device
  • Resource allocation method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0025] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ci...

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 resource allocation method and device, a storage medium and an electronic device, and the method comprises the steps: obtaining a first mirror image file of a resource package of a to-be-deployed component and a first file address of the first mirror image file, updating a value of a first field of a first markup language file in the resource package according to a first file address of the first mirror image file to obtain a second markup language file; acquiring a configuration file of a resource bundle of the to-be-deployed component, and updating a value of a second field in the second markup language file according to the configuration file to obtain a third markup language file; obtaining a first mirror image file according to the value of a first field in the third markup language file, deploying a to-be-deployed component in the cloud platform according to the first mirror image file, and determining a first resource quota allowed to be allocated to the to-be-deployed component according to the value of a second field in the third markup language file, and allocating corresponding resources to the to-be-deployed component in the cloud platform according to the first resource quota.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a method and device for allocating resources, a storage medium and an electronic device. Background technique [0002] As an emerging virtualization technology, container technology has played an important role in the field of cloud computing and container cloud. Container technology can package the program of the component to be deployed into a container image, which can realize the rapid deployment and operation of the component in different environments, and improve the efficiency and performance of development. [0003] In the deployment scheme provided by k8s official, install kubelet, kubectl, and kubeadm, and import image files of components such as apiserver, kube-controller-manager, coredns, etc., and then guide the installation of the components by kubeadm, but native technology cannot achieve Current business requirements, when the business scenario is to deploy k8s...

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): G06F9/50G06F9/445G06F8/61
CPCG06F9/5005G06F9/44505G06F9/5077G06F8/63
Inventor 刘鹏范泽添高伟周明伟
Owner ZHEJIANG DAHUA TECH CO LTD
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