CN111198691A - Application multi-runtime configuration and deployment method based on cloud platform - Google Patents
Application multi-runtime configuration and deployment method based on cloud platform Download PDFInfo
- Publication number
- CN111198691A CN111198691A CN201911342908.XA CN201911342908A CN111198691A CN 111198691 A CN111198691 A CN 111198691A CN 201911342908 A CN201911342908 A CN 201911342908A CN 111198691 A CN111198691 A CN 111198691A
- Authority
- CN
- China
- Prior art keywords
- application
- configuration
- deployment
- platform
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a cloud platform-based application multi-runtime configuration and deployment method, which comprises the following steps: step A, adding a chart directory in a code warehouse root directory of an application, wherein a two-layer directory is the same as the application name; step B, the catalog comprises Chart.yaml and values.yaml configuration files, and the platform provides templates for the two configuration files; step C, the platform automatically reads the configuration file by using the values.yaml configuration file when the application is deployed; and step D, when the application is deployed, automatically reading the configuration file of the code warehouse, selecting a corresponding cluster or resource in a deployment mode selected by a user, and automatically reading the relevant configuration items of the configuration file by a program to execute tasks and actions of application deployment. The cloud platform-based application multi-runtime configuration and deployment method provided by the invention improves the flexibility of the DevOps platform and simultaneously improves the efficiency and comprehensiveness of operation and maintenance deployment.
Description
Technical Field
The invention belongs to the field of software development, and particularly relates to a cloud platform-based multi-runtime configuration and deployment method.
Background
DevOps originated in 2009, which is a concept and method covering multiple stages and processes of software development, such as development, testing, operation and maintenance. The method emphasizes communication and cooperation of all links and departments in the software development process, and enables software to be more quickly and efficiently managed, developed, constructed, tested and released from the requirements through some means such as an automatic mode.
The continuous emergence of cloud platforms makes the development of DevOps step forward continuously. For example, the DevOps idea and method can be well supported in the enterprise software development process from the initial virtualization technology, the semi-virtualization technology to the current container technology, the multi-cloud technology, the hybrid cloud technology and the like.
In the process of digital transformation of enterprises at present, the packaging compiling mode and the deployment mode of the application can be adapted along with the change of services and the adjustment of technical architectures. From the traditional single application, the single application is deployed on a server, to the existing micro-service and containerization processes, various modes of starting, deploying and configuring the application appear. For historical reasons, it is unlikely or very difficult to implement large-scale modification on some old systems, so that application systems tend to be started directly on a server side, and many emerging services use new technologies of internet for re-architecture and software development, which are more suitable for deployment and operation of environments using containers, while the industry of micro-servitization containerization recognizes the popularity of standard technology kubernets, and the various features of the kubernets' own container platform make more and more enterprises gradually transition to kubernets, including various large interconnected factories and traditional enterprises, how to take into account different operation states and configuration deployment modes of old system applications and new applications? The configuration and deployment method based on the cloud platform well solves the problem that one platform is simultaneously adaptive to running runtime of three or more applications, and effectively solves the requirements and problems that the traditional enterprises meet in digital transformation and DevOps transformation, and the applications need to run in multiple modes.
Disclosure of Invention
The invention provides a cloud platform-based application multi-runtime configuration and deployment method aiming at the problems in the prior art, solves the problem that the existing DevOps platform basically only supports a single mode to run an application program and is low in flexibility, improves the flexibility of the DevOps platform, and improves the efficiency and the comprehensiveness of operation, maintenance and deployment.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
the application multi-runtime configuration and deployment method based on the cloud platform is characterized by comprising the following steps:
step A, adding a chart directory in a code warehouse root directory of an application, wherein a two-layer directory is the same as the application name;
step B, the catalog comprises Chart.yaml and values.yaml configuration files, and the platform provides templates for the two configuration files;
step C, the platform automatically reads the configuration file by using the values.yaml configuration file when the application is deployed;
and step D, when the application is deployed, automatically reading the configuration file of the code warehouse, selecting a corresponding cluster or resource in a deployment mode selected by a user, and automatically reading the relevant configuration items of the configuration file by a program to execute tasks and actions of application deployment.
Further, the configuration file in the step C is divided into two parts, the first part is a configuration needed to support kubernets deployment, and the second part is a custom platform tag part.
The invention provides a cloud platform-based application runtime configuration and deployment method, which adopts a configuration file and utilizes different Key/Value modes to classify and uniformly manage several different application runtime modes. The operation and maintenance classmates and the development classmates are not required to be switched with a system or a script in order to adapt to various operation requirements of the application, the flexibility of the DevOps platform is greatly improved, an executor only needs to modify different configuration items of the same configuration file, the runtime mode of the application can be recognized by the platform, the visual configuration and the application deployment are realized, and the efficiency and the comprehensiveness of the operation and maintenance deployment are greatly improved.
Drawings
Fig. 1 is a general flowchart of an application multi-runtime configuration and deployment method based on a cloud platform according to the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Referring to fig. 1, the present invention provides a cloud platform-based application multi-runtime configuration and deployment method, which includes the following steps:
step A, adding a chart directory in a code warehouse root directory of an application, wherein a two-layer directory is the same as the application name;
step B, the catalog comprises Chart.yaml and values.yaml configuration files, and the platform provides templates for the two configuration files;
step C, the platform automatically reads the configuration file by using the values.yaml configuration file when the application is deployed;
and step D, when the application is deployed, automatically reading the configuration file of the code warehouse, selecting a corresponding cluster or resource in a deployment mode selected by a user, and automatically reading the relevant configuration items of the configuration file by a program to execute tasks and actions of application deployment.
The configuration file in the step C is divided into two parts, the first part is a configuration which is required to support Kubernets deployment, and the second part is a custom platform tag part.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that are within the spirit and principle of the present invention are intended to be included therein.
Claims (2)
1. A cloud platform-based application multi-runtime configuration and deployment method is characterized by comprising the following steps:
step A, adding a chart directory in a code warehouse root directory of an application, wherein a two-layer directory is the same as the application name;
step B, the catalog comprises Chart.yaml and values.yaml configuration files, and the platform provides templates for the two configuration files;
step C, the platform automatically reads the configuration file by using the values.yaml configuration file when the application is deployed;
and step D, when the application is deployed, automatically reading the configuration file of the code warehouse, selecting a corresponding cluster or resource in a deployment mode selected by a user, and automatically reading the relevant configuration items of the configuration file by a program to execute tasks and actions of application deployment.
2. The cloud platform-based application multi-runtime configuration and deployment method according to claim 1, wherein the configuration file in the step C is divided into two parts, the first part is a configuration required to support Kubernets deployment, and the second part is a custom platform tag part.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911342908.XA CN111198691A (en) | 2019-12-23 | 2019-12-23 | Application multi-runtime configuration and deployment method based on cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911342908.XA CN111198691A (en) | 2019-12-23 | 2019-12-23 | Application multi-runtime configuration and deployment method based on cloud platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111198691A true CN111198691A (en) | 2020-05-26 |
Family
ID=70744477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911342908.XA Pending CN111198691A (en) | 2019-12-23 | 2019-12-23 | Application multi-runtime configuration and deployment method based on cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111198691A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113296844A (en) * | 2021-05-31 | 2021-08-24 | 北京深思云天科技有限公司 | Multi-runtime framework method and system based on micro-service |
CN113407178A (en) * | 2021-06-01 | 2021-09-17 | 上海安畅网络科技股份有限公司 | Cross-platform DevOps engine template method and system |
CN114416109A (en) * | 2021-12-15 | 2022-04-29 | 广州市玄武无线科技股份有限公司 | Program deployment method and device, computer device, and storage medium |
CN115334152A (en) * | 2022-09-16 | 2022-11-11 | 北京向量栈科技有限公司 | Method for submitting structured machine learning calculation task to calculation cluster |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104615466A (en) * | 2015-02-05 | 2015-05-13 | 广州亦云信息技术有限公司 | Cloud platform deployment method and system |
CN107864052A (en) * | 2017-10-30 | 2018-03-30 | 广东亿迅科技有限公司 | Method and its system based on lasting application deployment configuration automatic updating |
-
2019
- 2019-12-23 CN CN201911342908.XA patent/CN111198691A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104615466A (en) * | 2015-02-05 | 2015-05-13 | 广州亦云信息技术有限公司 | Cloud platform deployment method and system |
CN107864052A (en) * | 2017-10-30 | 2018-03-30 | 广东亿迅科技有限公司 | Method and its system based on lasting application deployment configuration automatic updating |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113296844A (en) * | 2021-05-31 | 2021-08-24 | 北京深思云天科技有限公司 | Multi-runtime framework method and system based on micro-service |
CN113407178A (en) * | 2021-06-01 | 2021-09-17 | 上海安畅网络科技股份有限公司 | Cross-platform DevOps engine template method and system |
CN113407178B (en) * | 2021-06-01 | 2022-06-17 | 上海安畅网络科技股份有限公司 | Cross-platform DevOps engine template method and system |
CN114416109A (en) * | 2021-12-15 | 2022-04-29 | 广州市玄武无线科技股份有限公司 | Program deployment method and device, computer device, and storage medium |
CN115334152A (en) * | 2022-09-16 | 2022-11-11 | 北京向量栈科技有限公司 | Method for submitting structured machine learning calculation task to calculation cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111198691A (en) | Application multi-runtime configuration and deployment method based on cloud platform | |
CN110825488A (en) | Business processing method and device, electronic equipment and storage medium | |
US11048492B2 (en) | Reducing downtime while patching binaries on a cluster | |
CN111142881B (en) | Kubernetes-based system and kubernetes-based method for automatic deployment of orchestration charts | |
CN110837418A (en) | High-concurrency web system based on container and implementation method | |
CN105159718A (en) | Firmware updating method and device | |
CN104516809A (en) | Automated testing system and method | |
CN110888736A (en) | Application management method and system based on container cloud platform and related components | |
CN112363728B (en) | Cross-platform compiling method and system supporting continuous integrated construction | |
CN110119279B (en) | Application and upgrading method and device thereof | |
CN103809979A (en) | Man-machine interaction software module integration system and implementing method thereof | |
CN117808406A (en) | Technical state management method, device, equipment and medium for aircraft system | |
CN113467931A (en) | Computing task processing method, device and system | |
CN111459510A (en) | Cross-network operating system installation method and device, electronic equipment and medium | |
CN115115062B (en) | Machine learning model building method, related device and computer program product | |
CN112905270B (en) | Workflow realization method, device, platform, electronic equipment and storage medium | |
CN111934907B (en) | Application cloud method, system and device based on container cloud platform | |
CN110837394B (en) | High-availability configuration version warehouse configuration method, terminal and readable medium | |
CN109298851B (en) | Expansion mechanism adaptation method of OSGi heterogeneous software framework | |
CN110427189A (en) | Method, server and the system of Remote Dynamic compiling Android engineering | |
CN107368321B (en) | Software version evolution method and system | |
CN110968335A (en) | Component system for overall resource management of power business system | |
CN110050291B (en) | Aggregation platform, demand owner and methods thereof | |
CN109857424A (en) | The application upgrade method and device of server cluster | |
CN113722045B (en) | Cluster application deployment method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200526 |
|
RJ01 | Rejection of invention patent application after publication |