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

Method, device and equipment for generating resource configuration file and storage medium

A resource configuration file and file technology, applied in software maintenance/management, version control, etc., can solve the problems of high professionalism dependence of technicians and difficulty in resource configuration files, and achieve the effect of reducing professionalism requirements and difficulty.

Pending Publication Date: 2021-08-24
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when using the container coding system to deploy applications, it is usually necessary to pre-generate the resource configuration files specified by the container orchestration system. However, the existing methods of generating resource configuration files rely heavily on the professionalism of technicians. more difficult

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, device and equipment for generating resource configuration file and storage medium
  • Method, device and equipment for generating resource configuration file and storage medium
  • Method, device and equipment for generating resource configuration file and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]Currently, before using the container orchestration system to deploy applications on the cluster, it is usually necessary to pre-generate the resource configuration files required for deploying the application. However, the inventor found that in practical applications, the resource configuration file is usually composed of multiple sub-files, and each sub-file may need to define more (such as dozens of items, etc.) parameters and parameters for characterizing resources Values, these data definitions about resources are abstract to technicians. Therefore, if the resource configuration file is generated by a technician writing the resource configuration file based on the underlying programming language, the technician is required to have a high professional level, and it is difficult to generate the resource configuration file.

[0054] Based on this, an embodiment of the present application provides a method for generating a resource configuration file, so as to reduce t...

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, device and equipment for generating a resource configuration file and a storage medium, and the method comprises the steps of obtaining a universal template file which comprises a plurality of predefined resources; and determining a parameter and a parameter value corresponding to a target resource in the plurality of resources according to an operation of a user on the visual configuration page for the target resource, thereby generating a resource configuration file for the application based on the general template file and the parameter and the parameter value corresponding to the target resource. Therefore, in the process of generating the resource configuration file, a user only needs to determine the target resource required for deploying the application and the parameter and the parameter value of the target resource on the visual configuration page, so that the resource configuration file is automatically generated based on the parameter and the parameter value of the target resource in combination with the corresponding universal template file, the difficulty of generating the resource configuration file is effectively reduced, and the professional requirement on the user is also reduced.

Description

technical field [0001] The present application relates to the technical field of resource configuration, and in particular to a method, device, device and storage medium for generating a resource configuration file. Background technique [0002] With the development of container technology and container orchestration technology in data centers, some mainstream container orchestration systems, such as Kubernetes (K8s for short), Docker Swarm and other container orchestration systems, have been widely used. Among them, container arrangement refers to the deployment and organization of containers that support applications. When the number of containers reaches a certain scale, it is necessary to arrange and manage the containers. [0003] However, when using the container coding system to deploy applications, it is usually necessary to pre-generate the resource configuration files specified by the container orchestration system. However, the existing methods of generating resou...

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): G06F8/71
CPCG06F8/71
Inventor 朱豪亮
Owner BEIJING GRIDSUM TECH CO LTD