CN116501339B - Application deployment method, device, electronic equipment and computer readable storage medium - Google Patents

Application deployment method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN116501339B
CN116501339B CN202310752899.1A CN202310752899A CN116501339B CN 116501339 B CN116501339 B CN 116501339B CN 202310752899 A CN202310752899 A CN 202310752899A CN 116501339 B CN116501339 B CN 116501339B
Authority
CN
China
Prior art keywords
task
deployed
edge cluster
target edge
target
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.)
Active
Application number
CN202310752899.1A
Other languages
Chinese (zh)
Other versions
CN116501339A (en
Inventor
张辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ling Skylark Technology Co ltd
Original Assignee
Beijing Ling Skylark Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Ling Skylark Technology Co ltd filed Critical Beijing Ling Skylark Technology Co ltd
Priority to CN202310752899.1A priority Critical patent/CN116501339B/en
Publication of CN116501339A publication Critical patent/CN116501339A/en
Application granted granted Critical
Publication of CN116501339B publication Critical patent/CN116501339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an application deployment method, an application deployment device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: generating a first configuration file corresponding to each target edge cluster contained in the received application deployment request; generating a task to be deployed of the target edge cluster according to a first configuration file corresponding to the target edge cluster, so as to push the task to be deployed into a task queue; each task execution unit reads one task to be deployed from the task queue, sends the read first configuration file corresponding to the task to be deployed to a corresponding target edge cluster so as to execute the task to be deployed in the target edge cluster, and reads the next task to be deployed from the task queue and executes the next task to be deployed after the task to be deployed is executed, until the task to be deployed is executed and stopped. By limiting the number of task execution units, the access pressure to the mirror warehouse is reduced.

Description

Application deployment method, device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application deployment method, an application deployment device, an electronic device, and a computer readable storage medium.
Background
With the development of containerization technology, container platforms (i.e., cloud management platforms) and container orchestration engines (Kubernetes) are increasingly being used in production environments to orchestrate container applications. Specifically, the container platform contains a plurality of container applications, and a user can send installation deployment files corresponding to the container applications to each device cluster through the container platform. And each device cluster is provided with a corresponding container arrangement engine, and after the device clusters receive the installation and deployment files of the container applications, the container arrangement engines can realize the installation and deployment of the container applications in the device clusters.
After the device cluster deploys the container application, the container application needs to be started to enable the container application to normally run in the device cluster. When the container application is started, the device cluster needs to pull the container mirror image from the container platform to finish the starting of the container application. If the container application is deployed to a plurality of device clusters at the same time, each device cluster needs to pull the container image from the image warehouse of the container platform at the same time, which causes access pressure to the image warehouse and easily causes problems such as network congestion.
Disclosure of Invention
Accordingly, an object of the present application is to provide an application deployment method, apparatus, electronic device, and computer readable storage medium, so as to reduce access pressure to a mirror warehouse and reduce network congestion.
In a first aspect, an embodiment of the present application provides an application deployment method, where the method is applied to a cloud edge collaborative application management component including a preset number of task execution units, and the method includes:
after receiving an application deployment request, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request; the first configuration file comprises a deployment file package of a target container application to be deployed and configuration parameter information for deploying the deployment file package;
aiming at each target edge cluster, generating a task to be deployed of the target edge cluster according to a first configuration file corresponding to the target edge cluster, so as to push the task to be deployed into a task queue;
for each task execution unit, the task execution unit reads one task to be deployed from the task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, reads the next task to be deployed from the task queue and executes the read task to be deployed until the task to be deployed in the task queue is executed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where after the receiving an application deployment request, generating, for each target edge cluster included in the application deployment request, a first configuration file corresponding to the target edge cluster includes:
after receiving an application deployment request sent by a cloud management platform, judging whether each piece of information contained in the application deployment request is missing or not, and judging whether each piece of information contained in the application deployment request meets the requirement of a preset format or not;
when each piece of information contained in the application deployment request is not missing and meets the preset format requirement, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request.
With reference to the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where after the receiving an application deployment request, generating, for each target edge cluster included in the application deployment request, a first configuration file corresponding to the target edge cluster includes:
after receiving an application deployment request sent by a cloud management platform, acquiring the deployment file package from the cloud management platform according to a storage position of the deployment file package contained in the application deployment request;
And generating a first configuration file corresponding to each target edge cluster contained in the application deployment request according to the deployment file package and configuration parameter information for deploying the deployment file package.
With reference to the first possible implementation manner or the second possible implementation manner of the first aspect, the embodiment of the present application provides a third possible implementation manner of the first aspect, wherein the cloud management platform generates the application deployment request by:
responding to a first selection operation of a user for container applications, so as to select the target container application to be deployed from a plurality of container applications stored in the cloud management platform;
responding to a second selection operation of the user for the edge clusters to select a plurality of target edge clusters from a plurality of edge clusters;
for each target edge cluster, responding to a third selection operation of the user for each space in the target edge cluster to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces;
Generating an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of the target space, third identification information of the target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
With reference to the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the method further includes:
after receiving an application deployment request, generating a second configuration file corresponding to each target edge cluster contained in the application deployment request; the second configuration file comprises the access address and the first identification information of the target edge cluster;
the task execution unit reads a task to be deployed from the task queue for each task execution unit, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, so as to execute the task to be deployed in the target edge cluster, including:
For each task execution unit, the task execution unit reads a task to be deployed from the task queue, and monitors whether the target container application is deployed in advance in a target edge cluster corresponding to the first identification information according to the access address and the first identification information in the second configuration file corresponding to the read task to be deployed;
when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends a first configuration file corresponding to the read task to be deployed and a creation instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster creates and deploys the target container application in the target edge cluster according to the configuration parameter information;
when the target container application is deployed in advance in the target edge cluster, the task execution unit sends a first configuration file and an update instruction corresponding to the read task to be deployed to the target edge cluster corresponding to the first configuration file, so that the target edge cluster updates and deploys the target container application in the target edge cluster according to the configuration parameter information.
With reference to the fourth possible implementation manner of the first aspect, the embodiment of the present application provides a fifth possible implementation manner of the first aspect, where after the tasks to be deployed in the task queue are all executed, the method further includes:
for each target edge cluster, monitoring the deployment condition and/or the running state of the target container application in the target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
and marking the application deployment request according to the deployment condition and/or the running state of the target container application in each target edge cluster.
With reference to the first aspect, an embodiment of the present application provides a sixth possible implementation manner of the first aspect, where, for each task execution unit, the task execution unit reads a task to be deployed from the task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, where the method includes:
for each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file;
The adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is specifically configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the adjusted first configuration file when the target edge cluster is configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the received first configuration file.
In a second aspect, an embodiment of the present application further provides an application deployment device, where the device is applied to a cloud edge cooperative application management component including a preset number of task execution units, and the device includes:
the first generating unit is used for generating a first configuration file corresponding to each target edge cluster contained in the application deployment request after receiving the application deployment request; the first configuration file comprises a deployment file package of a target container application to be deployed and configuration parameter information for deploying the deployment file package;
the second generating unit is used for generating a task to be deployed of each target edge cluster according to a first configuration file corresponding to the target edge cluster so as to push the task to be deployed into a task queue;
The task execution unit is used for reading a task to be deployed from the task queue, sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, reading the next task to be deployed from the task queue and executing the read task to be deployed until the tasks to be deployed in the task queue are all executed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file.
With reference to the second aspect, an embodiment of the present application provides a first possible implementation manner of the second aspect, where after the first generating unit is configured to receive an application deployment request, for each target edge cluster included in the application deployment request, generate a first configuration file corresponding to the target edge cluster, where the first configuration file is specifically configured to:
after receiving an application deployment request sent by a cloud management platform, judging whether each piece of information contained in the application deployment request is missing or not, and judging whether each piece of information contained in the application deployment request meets the requirement of a preset format or not;
When each piece of information contained in the application deployment request is not missing and meets the preset format requirement, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request.
With reference to the second aspect, an embodiment of the present application provides a second possible implementation manner of the second aspect, where after the first generating unit is configured to receive an application deployment request, for each target edge cluster included in the application deployment request, generate a first configuration file corresponding to the target edge cluster, where the first configuration file is specifically configured to:
after receiving an application deployment request sent by a cloud management platform, acquiring the deployment file package from the cloud management platform according to a storage position of the deployment file package contained in the application deployment request;
and generating a first configuration file corresponding to each target edge cluster contained in the application deployment request according to the deployment file package and configuration parameter information for deploying the deployment file package.
With reference to the first possible implementation manner or the second possible implementation manner of the second aspect, the embodiment of the present application provides a third possible implementation manner of the second aspect, wherein the cloud management platform generates the application deployment request by:
Responding to a first selection operation of a user for container applications, so as to select the target container application to be deployed from a plurality of container applications stored in the cloud management platform;
responding to a second selection operation of the user for the edge clusters to select a plurality of target edge clusters from a plurality of edge clusters;
for each target edge cluster, responding to a third selection operation of the user for each space in the target edge cluster to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces;
generating an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of the target space, third identification information of the target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
With reference to the second aspect, an embodiment of the present application provides a fourth possible implementation manner of the second aspect, where the method further includes:
the third generating unit is used for generating a second configuration file corresponding to each target edge cluster contained in the application deployment request after receiving the application deployment request; the second configuration file comprises the access address and the first identification information of the target edge cluster;
the task execution unit is configured to, when reading a task to be deployed from the task queue and sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, execute the task to be deployed in the target edge cluster, specifically be configured to:
reading a task to be deployed from the task queue, and monitoring whether the target container application is deployed in advance in a target edge cluster corresponding to the first identification information according to the access address and the first identification information in the second configuration file corresponding to the read task to be deployed;
when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends a first configuration file corresponding to the read task to be deployed and a creation instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster creates and deploys the target container application in the target edge cluster according to the configuration parameter information;
When the target container application is deployed in advance in the target edge cluster, the task execution unit sends a first configuration file and an update instruction corresponding to the read task to be deployed to the target edge cluster corresponding to the first configuration file, so that the target edge cluster updates and deploys the target container application in the target edge cluster according to the configuration parameter information.
With reference to the fourth possible implementation manner of the second aspect, an embodiment of the present application provides a fifth possible implementation manner of the second aspect, where the method further includes:
the monitoring unit is used for monitoring the deployment condition and/or the running state of the target container application in each target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
the marking unit is used for marking the application deployment request according to the deployment condition and/or the running state of the target container application in each target edge cluster.
With reference to the second aspect, an embodiment of the present application provides a sixth possible implementation manner of the second aspect, where the task execution unit is configured to, when reading a task to be deployed from the task queue, and sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, specifically:
For each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file;
the adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is specifically configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the adjusted first configuration file when the target edge cluster is configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the received first configuration file.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of any one of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the possible implementations of the first aspect described above.
The embodiment of the application provides an application deployment method, an application deployment device, electronic equipment and a computer readable storage medium, wherein cloud edge cooperative application management components generate tasks to be deployed corresponding to each target edge cluster after receiving an application deployment request, the tasks to be deployed of each target edge cluster are pushed to a task queue, and the tasks to be deployed read by the cloud edge cooperative application management components are respectively executed through each task execution unit. When each task executing unit executes the task to be deployed, each task executing unit can only read and execute one task to be deployed each time, and only after the execution of the read task to be deployed is completed, the next task to be deployed can be read again from the task queue and executed until the execution of the task to be deployed in the task queue is completed. In this embodiment, since the number of task execution units is preset, and each task execution unit can only execute one task to be deployed at a time, only after the target container application on the target edge clusters within the limit of the preset number is deployed, other target edge clusters that are not deployed are continuously processed until all the target edge clusters are deployed. By limiting the number of task execution units, the method is beneficial to reducing the access pressure to the mirror image warehouse and optimizing the network congestion.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flowchart of an application deployment method provided by an embodiment of the present application;
fig. 2 is a schematic structural diagram of a cloud edge collaborative application management component and a target edge cluster according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an application deployment device according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
In consideration of the problems that if the container application is deployed to a plurality of device clusters at the same time, each device cluster needs to pull the container image from the image warehouse of the container platform at the same time, access pressure is caused to the image warehouse, and network congestion is easy to cause. Based on this, the embodiment of the application provides an application deployment method, an application deployment device, an electronic device and a computer readable storage medium, so as to reduce access pressure to a mirror warehouse and reduce network congestion.
Embodiment one:
for the sake of understanding the present embodiment, first, a detailed description is given of an application deployment method disclosed in the present embodiment. The method is applied to a cloud edge collaborative application management assembly comprising a preset number of task execution units, and fig. 1 shows a flowchart of an application deployment method provided by an embodiment of the application, as shown in fig. 1, and includes the following steps:
s101: after receiving an application deployment request, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request; the first configuration file comprises a deployment file package of the target container application to be deployed and configuration parameter information for deploying the deployment file package.
Fig. 2 is a schematic structural diagram of a cloud-edge collaborative application management component and a target edge cluster provided by the embodiment of the present application, where, as shown in fig. 2, the cloud-edge collaborative application management component includes a preset number of task execution units, and the cloud-edge collaborative application management component is respectively in communication connection with a cloud management platform and each edge cluster, where each edge cluster includes a plurality of edge devices, each edge device includes a plurality of spaces, and each space may include a plurality of containers. The cloud management platform stores a plurality of container applications. Container applications refer to containerized applications, i.e., applications that can run in a container. One container application may run in one container, and the same container application may be deployed to multiple edge devices or edge clusters simultaneously.
In one possible implementation, the cloud management platform generates the application deployment request by:
responding to a first selection operation of a user for the container application, so as to select a target container application to be deployed from a plurality of container applications stored in a cloud management platform;
responding to a second selection operation of the user for the edge clusters to select a plurality of target edge clusters from the plurality of edge clusters;
For each target edge cluster, responding to a third selection operation of a user for each space in the target edge cluster to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces;
generating an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of a target space, third identification information of a target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
In this embodiment, the number of target container applications is one, the number of target edge clusters is plural, and the number of target spaces may be plural. The first identification information may be a unique name for describing an identity of the target edge cluster, the second identification information may be a unique code name for describing an identity of the target space, and the third identification information may be a unique name for describing an identity of the target container application. The deployment file package of the target container application is a Chart file obtained after the target container application is packaged on the cloud management platform. The configuration parameter information of the target container application is used as a basis for deploying the deployment file package into each target edge cluster.
The cloud management platform is further used for responding to submitting operation of a user for the application deployment request, so that the cloud management platform sends the application deployment request to the cloud side collaborative application management component.
In the embodiment, after receiving a cloud management platform, a cloud cooperative application management component generates a first configuration file corresponding to each target edge cluster contained in an application deployment request; the first configuration file specifically comprises a deployment file package of the target container application to be deployed, configuration parameter information for deploying the deployment file package, first identification information of each target edge cluster and access addresses.
In one possible implementation manner, when performing step S101, it may specifically be:
after receiving an application deployment request sent by a cloud management platform, judging whether each piece of information contained in the application deployment request is missing or not, and judging whether each piece of information contained in the application deployment request meets the requirement of a preset format or not;
when each piece of information contained in the application deployment request is free of loss and meets the preset format requirement, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request.
The method includes the steps of judging whether the first identification information of each target edge cluster, the second identification information of a target space, the third identification information of a target container application, the configuration parameter information of a deployment file package of the target container application and the storage position of the deployment file package in a cloud management platform contained in an application deployment request are missing or not.
Each piece of information contained in the application deployment request corresponds to a respective preset format requirement, for example, the preset format requirement of the first identification information of the target edge cluster is: the number of words is less than the first number, special characters cannot appear, etc.
In one possible implementation manner, when performing step S101, it may specifically be:
after receiving an application deployment request sent by a cloud management platform, acquiring a deployment file package from the cloud management platform according to a storage position of the deployment file package contained in the application deployment request;
and generating a first configuration file corresponding to each target edge cluster contained in the application deployment request according to the deployment file package and the configuration parameter information for deploying the deployment file package.
S102: and generating a task to be deployed of each target edge cluster according to a first configuration file corresponding to the target edge cluster, so as to push the task to be deployed into a task queue.
In this embodiment, each task to be deployed may be pushed to the task queue in sequence according to the generation time of each task to be deployed.
S103: for each task execution unit, the task execution unit reads one task to be deployed from a task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, reads the next task to be deployed from the task queue and executes the read task to be deployed until the tasks to be deployed in the task queue are all executed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file.
In this embodiment, each task execution unit may sequentially read one task to be deployed from the task queue, and start executing the task to be deployed. The task executing unit sends the read first configuration file corresponding to the task to be deployed to a target edge cluster corresponding to the first identification information according to the access address and the first identification information contained in the read first configuration file corresponding to the task to be deployed. The first configuration file further includes second identification information of the target space in the target edge cluster.
When the task to be deployed is executed in the target edge cluster, the deployment and installation package can be deployed in the target edge cluster by utilizing a container arrangement engine arranged in the target edge cluster according to the received configuration parameter information in the first configuration file, wherein the target container corresponds to the second identification information in the target edge cluster. After the deployment installation package is deployed into the target container, the deployed target container application needs to be started in the target container, and at this time, the target edge cluster needs to pull the mirror image container corresponding to the target container from the cloud management platform so as to complete the starting of the target container application.
In this embodiment, each task execution unit performs the task in a separate go thread. The multiple task execution units work simultaneously to achieve the purpose of deploying the target container application concurrently. The number of task execution units determines the number of simultaneous deployment target container applications. The more task execution units, the more tasks to be deployed that are simultaneously executed. When no task to be deployed exists in the task queue, all task execution units are in a waiting state.
In one possible embodiment, the following steps may also be performed:
after receiving the application deployment request, generating a second configuration file corresponding to each target edge cluster contained in the application deployment request; the second configuration file contains the access address and the first identification information of the target edge cluster.
In the executing step, for each task executing unit, the task executing unit reads a task to be deployed from the task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, so that when the task to be deployed is executed in the target edge cluster, the executing step may specifically be executed according to the following steps S1031-S1033:
s1031: and for each task execution unit, the task execution unit reads one task to be deployed from the task queue, and monitors whether a target container application is deployed in advance in a target edge cluster corresponding to the first identification information according to the access address and the first identification information in a second configuration file corresponding to the read task to be deployed.
S1032: when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends the read first configuration file corresponding to the task to be deployed and the creation instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster creates the deployment target container application in the target edge cluster according to the configuration parameter information.
In this embodiment, when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends the read first configuration file corresponding to the task to be deployed and the creation instruction to the target edge cluster corresponding to the first identification information according to the access address and the first identification information included in the read first configuration file corresponding to the task to be deployed, so that the target edge cluster creates and deploys the deployment installation package into the target container in the target space corresponding to the second identification information in the target edge cluster according to the received configuration parameter information in the first configuration file.
S1033: when the target container application is deployed in advance in the target edge cluster, the task execution unit sends the read first configuration file corresponding to the task to be deployed and the update instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster updates the target container application to be deployed in the target edge cluster according to the configuration parameter information.
In this embodiment, when a target container application is pre-deployed in the target edge cluster, the task execution unit sends the read first configuration file corresponding to the task to be deployed and an update instruction to the target edge cluster corresponding to the first identification information according to the access address and the first identification information included in the read first configuration file corresponding to the task to be deployed, so that the target edge cluster updates and deploys the deployment installation package into the target container in the target space corresponding to the second identification information in the target edge cluster according to the received configuration parameter information in the first configuration file.
In one possible implementation manner, after the tasks to be deployed in the task queue are all executed, the following steps may be specifically executed:
s1041: for each target edge cluster, monitoring the deployment condition and/or the running state of the target container application in the target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
s1042: and marking application deployment requests according to the deployment condition and/or the running state of the target container application in each target edge cluster.
In this embodiment, the deployment scenario includes deployment success and deployment failure, and the operational state includes running and not running. When marking the application deployment request, the application deployment request can be specifically marked by using the first identification information of each target edge cluster and the deployment condition and/or the running state of the target container application in each target edge cluster.
For example, when the deployment condition of the target container application in the target edge cluster is deployment success and the running state is running, the application deployment request is marked by using the first identification information of the target edge cluster and the deployment condition and/or the running state (i.e. "deployment success" and "running") of the target edge cluster.
In a possible implementation manner, when executing step S101 for each task execution unit, the task execution unit reads a task to be deployed from the task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, the task execution unit may specifically execute the following steps:
for each task execution unit, the task execution unit reads a task to be deployed from a task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed to obtain an adjusted first configuration file;
the adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file, and is particularly used for deploying the target container application in the target edge cluster according to the adjusted configuration parameter information in the first configuration file.
In this embodiment, considering that the deployment file package of the target container application is taken as a template, when each target edge cluster is deployed, there may be an operating environment that cannot be adapted to any one of the target edge clusters, so before the first configuration file including the deployment file package and the configuration parameter information is sent to each target edge cluster, the configuration parameter information in the first configuration file corresponding to the target edge cluster is adjusted according to the operating environment of the target edge cluster, so that the adjusted first configuration file is more suitable for the operating environment of the target edge cluster. And at the moment, the deployment file package is deployed into the target edge cluster by using the configuration parameter information in the adjusted first configuration file, so that the deployment success rate is improved.
For ease of understanding, this embodiment provides a specific implementation:
the cloud management platform responds to a first selection operation of a user for the container application, so that a target container application to be deployed is selected from a plurality of container applications stored in the cloud management platform. And the cloud management platform responds to a second selection operation of the user for the edge clusters so as to select a plurality of target edge clusters from the plurality of edge clusters.
For each target edge cluster, responding to a third selection operation of a user for each space in the target edge cluster by the cloud management platform so as to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces.
The cloud management platform generates an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of a target space, third identification information of a target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
The cloud management platform responds to the submitting operation of the user for the application deployment request, so that the cloud management platform sends the application deployment request to the cloud side cooperative application management component.
After receiving an application deployment request sent by a cloud management platform, the cloud side cooperative application management component judges whether each piece of information contained in the application deployment request is missing or not, and judges whether each piece of information contained in the application deployment request meets the requirement of a preset format or not.
When each piece of information contained in the application deployment request is not lost and meets the requirement of a preset format, the cloud side cooperative application management component acquires a deployment file package from the cloud management platform according to the storage position of the deployment file package contained in the application deployment request.
And aiming at each target edge cluster contained in the application deployment request, the cloud edge cooperative application management component generates a first configuration file corresponding to the target edge cluster according to the deployment file package and the configuration parameter information for deploying the deployment file package.
Aiming at each target edge cluster contained in the application deployment request, the cloud edge cooperative application management component generates a second configuration file corresponding to the target edge cluster; the second configuration file contains the access address and the first identification information of the target edge cluster.
And aiming at each target edge cluster, the cloud edge cooperative application management component generates a task to be deployed of the target edge cluster according to a first configuration file corresponding to the target edge cluster so as to push the task to be deployed into a task queue.
For each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file; according to the access address and the first identification information in the second configuration file corresponding to the read task to be deployed, monitoring whether the target container application is deployed in advance in a target edge cluster corresponding to the first identification information;
when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends the read adjusted first configuration file corresponding to the task to be deployed and a creation instruction to the target edge cluster corresponding to the adjusted first configuration file, so that the target edge cluster creates and deploys the target container application in the target edge cluster according to the adjusted configuration parameter information;
When the target container application is deployed in advance in the target edge cluster, the task execution unit sends the read adjusted first configuration file corresponding to the task to be deployed and an update instruction to the target edge cluster corresponding to the adjusted first configuration file, so that the target edge cluster updates and deploys the target container application in the target edge cluster according to the adjusted configuration parameter information.
The task execution unit reads the next task to be deployed from the task queue and executes the read task to be deployed until the task to be deployed in the task queue is completed after the task execution unit sends the adjusted first configuration file and a creation instruction or an update instruction to a target edge cluster corresponding to the adjusted first configuration file so that the target edge cluster creates deployment or updates and deploys the target container application in the target edge cluster according to the adjusted configuration parameter information.
After the tasks to be deployed in the task queue are all executed, monitoring the deployment condition and/or the running state of the target container application in each target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
And marking the application deployment request according to the deployment condition and/or the running state of the target container application in each target edge cluster.
Embodiment two:
based on the same technical concept, the application also provides an application deployment device, which is applied to a cloud edge cooperative application management assembly comprising a preset number of task execution units, and fig. 3 shows a schematic structural diagram of the application deployment device provided by the embodiment of the application, and as shown in fig. 3, the device comprises:
the first generating unit 301 is configured to generate, after receiving an application deployment request, a first configuration file corresponding to each target edge cluster included in the application deployment request; the first configuration file comprises a deployment file package of a target container application to be deployed and configuration parameter information for deploying the deployment file package;
the second generating unit 302 is configured to generate, for each target edge cluster, a task to be deployed of the target edge cluster according to a first configuration file corresponding to the target edge cluster, so as to push the task to be deployed to a task queue;
the task execution unit 303 is configured to read a task to be deployed from the task queue, send a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, read a next task to be deployed from the task queue and execute the read task to be deployed until the task to be deployed in the task queue is executed and completed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file.
Optionally, after the first generating unit 301 is configured to receive an application deployment request, for each target edge cluster included in the application deployment request, generate a first configuration file corresponding to the target edge cluster, where the first configuration file is specifically configured to:
after receiving an application deployment request sent by a cloud management platform, judging whether each piece of information contained in the application deployment request is missing or not, and judging whether each piece of information contained in the application deployment request meets the requirement of a preset format or not;
when each piece of information contained in the application deployment request is not missing and meets the preset format requirement, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request.
Optionally, after the first generating unit 301 is configured to receive an application deployment request, for each target edge cluster included in the application deployment request, generate a first configuration file corresponding to the target edge cluster, where the first configuration file is specifically configured to:
after receiving an application deployment request sent by a cloud management platform, acquiring the deployment file package from the cloud management platform according to a storage position of the deployment file package contained in the application deployment request;
And generating a first configuration file corresponding to each target edge cluster contained in the application deployment request according to the deployment file package and configuration parameter information for deploying the deployment file package.
Optionally, the cloud management platform generates the application deployment request by:
responding to a first selection operation of a user for container applications, so as to select the target container application to be deployed from a plurality of container applications stored in the cloud management platform;
responding to a second selection operation of the user for the edge clusters to select a plurality of target edge clusters from a plurality of edge clusters;
for each target edge cluster, responding to a third selection operation of the user for each space in the target edge cluster to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces;
generating an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of the target space, third identification information of the target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
Optionally, the method further comprises:
the third generating unit is used for generating a second configuration file corresponding to each target edge cluster contained in the application deployment request after receiving the application deployment request; the second configuration file comprises the access address and the first identification information of the target edge cluster;
the task execution unit 303 is configured to, when reading a task to be deployed from the task queue, and sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, execute the task to be deployed in the target edge cluster, specifically be configured to:
reading a task to be deployed from the task queue, and monitoring whether the target container application is deployed in advance in a target edge cluster corresponding to the first identification information according to the access address and the first identification information in the second configuration file corresponding to the read task to be deployed;
when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends a first configuration file corresponding to the read task to be deployed and a creation instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster creates and deploys the target container application in the target edge cluster according to the configuration parameter information;
When the target container application is deployed in advance in the target edge cluster, the task execution unit sends a first configuration file and an update instruction corresponding to the read task to be deployed to the target edge cluster corresponding to the first configuration file, so that the target edge cluster updates and deploys the target container application in the target edge cluster according to the configuration parameter information.
Optionally, the method further comprises:
the monitoring unit is used for monitoring the deployment condition and/or the running state of the target container application in each target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
the marking unit is used for marking the application deployment request according to the deployment condition and/or the running state of the target container application in each target edge cluster.
Optionally, when the task execution unit 303 is configured to read a task to be deployed from the task queue and send a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, the task execution unit is specifically configured to:
For each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file;
the adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is specifically configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the adjusted first configuration file when the target edge cluster is configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the received first configuration file.
Embodiment III:
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, including: the electronic device comprises a processor 401, a memory 402 and a bus 403, wherein the memory 402 stores machine readable instructions executable by the processor 401, and when the electronic device runs the information processing method, the processor 401 communicates with the memory 402 through the bus 403, and the processor 401 executes the machine readable instructions to execute the method steps described in the first embodiment.
Embodiment four:
the fourth embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor performs the method steps described in the first embodiment.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, electronic device and computer readable storage medium described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. An application deployment method, wherein the method is applied to a cloud edge collaborative application management component comprising a preset number of task execution units, and the method comprises the following steps:
after receiving an application deployment request, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request; the first configuration file comprises a deployment file package of a target container application to be deployed and configuration parameter information for deploying the deployment file package;
Aiming at each target edge cluster, generating a task to be deployed of the target edge cluster according to a first configuration file corresponding to the target edge cluster, so as to push the task to be deployed into a task queue;
for each task execution unit, the task execution unit reads one task to be deployed from the task queue, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, reads the next task to be deployed from the task queue and executes the read task to be deployed until the task to be deployed in the task queue is executed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file;
the task execution unit reads a task to be deployed from the task queue for each task execution unit, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, where the method includes:
For each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file;
the adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is specifically configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the adjusted first configuration file when the target edge cluster is configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the received first configuration file.
2. The method of claim 1, wherein the generating, after receiving the application deployment request, a first configuration file corresponding to each target edge cluster included in the application deployment request, includes:
after receiving an application deployment request sent by a cloud management platform, judging whether each piece of information contained in the application deployment request is missing or not, and judging whether each piece of information contained in the application deployment request meets the requirement of a preset format or not;
When each piece of information contained in the application deployment request is not missing and meets the preset format requirement, generating a first configuration file corresponding to each target edge cluster contained in the application deployment request.
3. The method of claim 1, wherein the generating, after receiving the application deployment request, a first configuration file corresponding to each target edge cluster included in the application deployment request, includes:
after receiving an application deployment request sent by a cloud management platform, acquiring the deployment file package from the cloud management platform according to a storage position of the deployment file package contained in the application deployment request;
and generating a first configuration file corresponding to each target edge cluster contained in the application deployment request according to the deployment file package and configuration parameter information for deploying the deployment file package.
4. A method according to claim 2 or 3, wherein the cloud management platform generates the application deployment request by:
responding to a first selection operation of a user for container applications, so as to select the target container application to be deployed from a plurality of container applications stored in the cloud management platform;
Responding to a second selection operation of the user for the edge clusters to select a plurality of target edge clusters from a plurality of edge clusters;
for each target edge cluster, responding to a third selection operation of the user for each space in the target edge cluster to select a target space from a plurality of spaces in the target edge cluster; each edge cluster comprises a plurality of edge devices, and each edge device comprises a plurality of spaces;
generating an application deployment request according to the target container application, the target edge clusters and the target space corresponding to each target edge cluster; the application deployment request comprises respective first identification information of each target edge cluster, second identification information of the target space, third identification information of the target container application, configuration parameter information of a deployment file package of the target container application and a storage position of the deployment file package in the cloud management platform.
5. The method according to claim 1, wherein the method further comprises:
after receiving an application deployment request, generating a second configuration file corresponding to each target edge cluster contained in the application deployment request; the second configuration file comprises the access address and the first identification information of the target edge cluster;
The task execution unit reads a task to be deployed from the task queue for each task execution unit, and sends a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, so as to execute the task to be deployed in the target edge cluster, including:
for each task execution unit, the task execution unit reads a task to be deployed from the task queue, and monitors whether the target container application is deployed in advance in a target edge cluster corresponding to the first identification information according to the access address and the first identification information in the second configuration file corresponding to the read task to be deployed;
when the target container application is not deployed in advance in the target edge cluster, the task execution unit sends a first configuration file corresponding to the read task to be deployed and a creation instruction to the target edge cluster corresponding to the first configuration file, so that the target edge cluster creates and deploys the target container application in the target edge cluster according to the configuration parameter information;
when the target container application is deployed in advance in the target edge cluster, the task execution unit sends a first configuration file and an update instruction corresponding to the read task to be deployed to the target edge cluster corresponding to the first configuration file, so that the target edge cluster updates and deploys the target container application in the target edge cluster according to the configuration parameter information.
6. The method of claim 5, wherein after all of the tasks to be deployed in the task queue are executed, further comprising:
for each target edge cluster, monitoring the deployment condition and/or the running state of the target container application in the target edge cluster according to the access address and the first identification information in the second configuration file corresponding to the target edge cluster;
and marking the application deployment request according to the deployment condition and/or the running state of the target container application in each target edge cluster.
7. An application deployment apparatus for use with a cloud-edge collaborative application management assembly comprising a predetermined number of task execution units, the apparatus comprising:
the first generating unit is used for generating a first configuration file corresponding to each target edge cluster contained in the application deployment request after receiving the application deployment request; the first configuration file comprises a deployment file package of a target container application to be deployed and configuration parameter information for deploying the deployment file package;
the second generating unit is used for generating a task to be deployed of each target edge cluster according to a first configuration file corresponding to the target edge cluster so as to push the task to be deployed into a task queue;
The task execution unit is used for reading a task to be deployed from the task queue, sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file so as to execute the task to be deployed in the target edge cluster, and after the task to be deployed is executed, reading the next task to be deployed from the task queue and executing the read task to be deployed until the tasks to be deployed in the task queue are all executed; the target edge cluster is used for deploying the target container application in the target edge cluster according to the received configuration parameter information in the first configuration file;
the task execution unit is configured to, when reading a task to be deployed from the task queue and sending a first configuration file corresponding to the read task to be deployed to a target edge cluster corresponding to the first configuration file, specifically:
for each task execution unit, the task execution unit reads a task to be deployed from the task queue, and adjusts configuration parameter information in a first configuration file according to the running environment of a target edge cluster corresponding to the first configuration file corresponding to the read task to be deployed, so as to obtain an adjusted first configuration file;
The adjusted first configuration file is sent to a target edge cluster corresponding to the first configuration file; the target edge cluster is specifically configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the adjusted first configuration file when the target edge cluster is configured to deploy the target container application in the target edge cluster according to the configuration parameter information in the received first configuration file.
8. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine-readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said machine-readable instructions when executed by said processor performing the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1 to 6.
CN202310752899.1A 2023-06-26 2023-06-26 Application deployment method, device, electronic equipment and computer readable storage medium Active CN116501339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310752899.1A CN116501339B (en) 2023-06-26 2023-06-26 Application deployment method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310752899.1A CN116501339B (en) 2023-06-26 2023-06-26 Application deployment method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN116501339A CN116501339A (en) 2023-07-28
CN116501339B true CN116501339B (en) 2023-09-08

Family

ID=87328638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310752899.1A Active CN116501339B (en) 2023-06-26 2023-06-26 Application deployment method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116501339B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071494A1 (en) * 2015-10-26 2017-05-04 阿里巴巴集团控股有限公司 Application deployment method and apparatus
CN110147227A (en) * 2018-07-06 2019-08-20 杭州涂鸦信息技术有限公司 A kind of program installation kit generation method and system for technical ability configuration
CN110290015A (en) * 2019-07-24 2019-09-27 无锡华云数据技术服务有限公司 Remote deployment method, apparatus and storage medium
CN112130866A (en) * 2020-10-09 2020-12-25 腾讯科技(深圳)有限公司 Application deployment method and related device
CN114879977A (en) * 2022-04-27 2022-08-09 贝壳技术有限公司 Application deployment method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8726084B2 (en) * 2011-10-14 2014-05-13 Honeywell International Inc. Methods and systems for distributed diagnostic reasoning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071494A1 (en) * 2015-10-26 2017-05-04 阿里巴巴集团控股有限公司 Application deployment method and apparatus
CN110147227A (en) * 2018-07-06 2019-08-20 杭州涂鸦信息技术有限公司 A kind of program installation kit generation method and system for technical ability configuration
CN110290015A (en) * 2019-07-24 2019-09-27 无锡华云数据技术服务有限公司 Remote deployment method, apparatus and storage medium
CN112130866A (en) * 2020-10-09 2020-12-25 腾讯科技(深圳)有限公司 Application deployment method and related device
CN114879977A (en) * 2022-04-27 2022-08-09 贝壳技术有限公司 Application deployment method, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向动态负载的集群容器部署方法;尹飞;《计算机应用》;第41卷(第6期);第1581-1588页 *

Also Published As

Publication number Publication date
CN116501339A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN108255497B (en) Application deployment method and device
CN108717379B (en) Electronic device, distributed task scheduling method and storage medium
CN109862101B (en) Cross-platform application starting method and device, computer equipment and storage medium
US9223601B2 (en) Control device, control method, and non-transitory computer-readable storage medium for a virtual system deployment
US9229815B2 (en) Information processing apparatus, program update method, and program
CN111857733B (en) Construction method, device and system of service environment and readable storage medium
CN110874263B (en) Method and device for monitoring instances of docker container
CN113918232B (en) Algorithm service calling method, device, server and storage medium
CN114968283A (en) Container mirror image pulling method, device and equipment and readable storage medium
CN114546588A (en) Task deployment method and device, storage medium and electronic device
CN116501339B (en) Application deployment method, device, electronic equipment and computer readable storage medium
CN112600931A (en) API gateway deployment method and device
CN113419814B (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN105787359A (en) Course guarding method and device
CN114675940A (en) Application instance construction method, device and equipment
CN114090242A (en) Model training method, device, equipment, storage medium and program product
CN114895933A (en) System upgrade method, network device, medium, and electronic device
CN114281281A (en) Interaction method and device for printer and intelligent equipment
CN111190637B (en) Version file release management method, device and system
CN113821303A (en) Method and device for deploying hardor cluster and readable storage medium
CN112130783B (en) File printing method and device
CN112148348A (en) Task processing method and device and storage medium
CN114095495B (en) Terminal control method, device, storage medium and apparatus
CN112083998B (en) Dynamic configuration method and device for task parameters in RTP of VxWorks system
CN116248495A (en) Resource determination method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant