CN109298870A - A kind of application dispositions method and relevant apparatus - Google Patents
A kind of application dispositions method and relevant apparatus Download PDFInfo
- Publication number
- CN109298870A CN109298870A CN201810974027.9A CN201810974027A CN109298870A CN 109298870 A CN109298870 A CN 109298870A CN 201810974027 A CN201810974027 A CN 201810974027A CN 109298870 A CN109298870 A CN 109298870A
- Authority
- CN
- China
- Prior art keywords
- deployment
- template
- application
- service
- configuration
- 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
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000012545 processing Methods 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012800 visualization Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 7
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000000007 visual effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 244000035744 Hura crepitans Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- 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/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- 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/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
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
Dispositions method is applied this application discloses a kind of, comprising: services package building processing is carried out according to the information of service mirror image, obtains service type packet;Multiple service type packets handle using layout, be applied template;Configuration processing is carried out according to all deployment parameters constraint informations in application template, code is executed according to configuration result and all deployment, corresponding service mirror image is disposed, to complete using deployment operation.Carrying out parameter configuration by deployment parameters constraint information can be improved configuration speed, and manual intervention degree during deployment can be reduced by disposing process execution deployment execution code, further increase the speed of service arrangement, it is directly disposed when application deployment on this basis corresponding using template, it avoids the service to needs to dispose one by one, improves the deployment speed of application.Disclosed herein as well is a kind of application deployment device, server and computer readable storage mediums, have the above beneficial effect.
Description
Technical field
This application involves field of computer technology, in particular to a kind of application dispositions method, using deployment device, server
And computer readable storage medium.
Background technique
With the continuous development of information technology, during carrying out server using deployment, in order to improve application section
The speed and efficiency of administration.There is container technique, it is the application container engine of an open source, and technical staff can be allowed to be packaged and answered
With, and packet is relied on accordingly into a lightweight, transplantable container, then it is published to the linux machine of any prevalence
In.Container uses sandbox technology completely, does not have any interface between container and container, and the performance cost of container is extremely low.
It provides a kind of method of the splendid application deployment of performance.
Accordingly, providing a kind of deployment way in the prior art is individually disposed for each service in application, one
As need to dispose a large amount of service simultaneously during application deployment, the prior art is single for each different service
It is solely disposed, and needs the form of order line to be configured during being directed to each service arrangement, the efficiency pole of configuration
It is low, it influences using whole deployment speed.Simultaneously order line form carry out configuration learning cost it is higher, be unfavorable for technical staff
The related deployment quickly applied.
Therefore, the Important Problems for applying the speed disposed to be those skilled in the art's concern how to be improved.
Summary of the invention
The purpose of the application is to provide a kind of application dispositions method, using deployment device, server and computer-readable
Storage medium can directly execute service class in deployment services by generating service type packet according to the information of service mirror image
Type packet is disposed, and carrying out parameter configuration by deployment parameters constraint information can be improved configuration speed, and the process of disposing is held
Row deployment, which executes code, can reduce manual intervention degree during deployment, the speed of service arrangement be further increased, in this base
It directly disposes corresponding using template on plinth when application deployment, avoids the service to needs and dispose one by one, improve and answer
Deployment speed.
In order to solve the above technical problems, the application provide it is a kind of using dispositions method, comprising:
Services package building processing is carried out according to the information of service mirror image, obtains service type packet;Wherein, the service type
Packet includes that deployment executes code and deployment parameters constraint information;
Multiple service type packets handle using layout, be applied template;
Carry out configuration processing according to the deployment parameters constraint informations all in the application template, according to configuration result and
All deployment execute code and dispose to corresponding service mirror image, to complete using deployment operation.
Optionally, configuration processing is carried out according to the deployment parameters constraint informations all in the application template, according to matching
It sets result and all deployment executes code and dispose to corresponding service mirror image, to complete using deployment operation, packet
It includes:
Configuration processing is carried out according to the deployment parameters constraint informations all in the application template, obtains the configuration knot
Fruit;
Corresponding service mirror image is chosen according to the configuration result;
All configuration results, all service mirror images and all deployment are executed code to be deployed to
It is described using deployment operation to complete in Kubernetes environment.
Optionally, multiple service type packets handle using layout, be applied template, comprising:
Multiple service type packets handle using layout according to layout code, are obtained described using template.
Optionally, multiple service type packets handle using layout, be applied template, comprising:
Multiple service type packets handle using layout according to visualization layout result, obtain deployment scheme;
Multiple service type packets are saved according to the deployment scheme, are obtained described using template.
The application also provides a kind of application deployment device, comprising:
Service arrangement information package module is taken for carrying out services package building processing according to the information of service mirror image
Service type packet;Wherein, the service type packet includes that deployment executes code and deployment parameters constraint information;
Module is obtained using template, for handle using layout by multiple service type packets, be applied mould
Version;
Using deployment module, for being carried out at configuration according to the deployment parameters constraint informations all in the application template
Reason executes code according to configuration result and all deployment and disposes to corresponding service mirror image, to complete application section
Administration's operation.
It is optionally, described to apply deployment module, comprising:
Service configuration unit, for being carried out at configuration according to the deployment parameters constraint informations all in the application template
Reason, obtains the configuration result;
Mirror image selection unit is serviced, for choosing corresponding service mirror image according to the configuration result;
Deployment unit, for executing all configuration results, all service mirror images and all deployment
Code is deployed in Kubernetes environment, described using deployment operation to complete.
Optionally, the application template obtains module, comprising:
Code arranging unit is obtained for handle using layout to multiple service type packets according to layout code
Template is applied to described.
Optionally, the application template obtains module, comprising:
Arranging unit is visualized, for carrying out multiple service type packets using layout according to visualization layout result
Processing, obtains deployment scheme;
It is obtained using template acquiring unit for being saved according to the deployment scheme to multiple service type packets
Template is applied to described.
The application also provides a kind of server, comprising:
Memory, for storing computer program;
Processor realizes the step of applying dispositions method as described above when for executing the computer program.
The application also provides a kind of computer readable storage medium, which is characterized in that the computer readable storage medium
On be stored with computer program, when the computer program is executed by processor realize as described above apply dispositions method step
Suddenly.
Provided herein is a kind of using dispositions method, comprising: carries out services package building according to the information of service mirror image
Processing, obtains service type packet;Wherein, the service type packet includes that deployment executes code and deployment parameters constraint information;It will
Multiple service type packets handle using layout, and be applied template;According to all portions in the application template
Administration's restriction on the parameters information carries out configuration processing, executes code to corresponding service mirror image according to configuration result and all deployment
It is disposed, to complete using deployment operation.
By generating service type packet according to the information of service mirror image, service type can be directly executed in deployment services
Packet is disposed, and carrying out parameter configuration by deployment parameters constraint information can be improved configuration speed, and disposes process execution
Deployment, which executes code, can reduce manual intervention degree during deployment, further increase the speed of service arrangement, basic herein
It directly disposes corresponding using template when upper application deployment, avoids the service to needs and dispose one by one, improve application
Deployment speed.Also, the learning cost that parameter configuration is carried out by deployment parameters constraint information when can reduce service configuration,
Improve the efficiency of configuration.
The application also provides a kind of application deployment device, server and computer readable storage medium, and have has above
Beneficial effect, this will not be repeated here.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart using dispositions method provided by the embodiment of the present application;
Fig. 2 is the flow chart using template dispositions method of application dispositions method provided by the embodiment of the present application;
Fig. 3 is the flow chart using method of combination of application dispositions method provided by the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of application deployment device provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide a kind of application dispositions method, using deployment device, server and computer-readable
Storage medium can directly execute service class in deployment services by generating service type packet according to the information of service mirror image
Type packet is disposed, and carrying out parameter configuration by deployment parameters constraint information can be improved configuration speed, and the process of disposing is held
Row deployment, which executes code, can reduce manual intervention degree during deployment, the speed of service arrangement be further increased, in this base
It directly disposes corresponding using template on plinth when application deployment, avoids the service to needs and dispose one by one, improve and answer
Deployment speed.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
There is provided a kind of deployment way in the prior art is individually disposed for each service in application, it is general
Need to dispose a large amount of service during application deployment simultaneously, the prior art is individually to carry out for each different service
Deployment, and for needing the form of order line to be configured during each service arrangement, the efficiency of configuration is extremely low, influences
Using whole deployment speed.Simultaneously order line form carry out configuration learning cost it is higher, be unfavorable for technical staff quickly into
The related deployment of row application.
Therefore, the embodiment of the present application provides a kind of using dispositions method, by generating service according to the information of service mirror image
Type packet can directly execute service type packet in deployment services and be disposed, be joined by deployment parameters constraint information
Number configuration configuration speed can be improved, and dispose process execute deployment execute code can reduce deployment during manual intervention
Degree further increases the speed of service arrangement, directly disposes on this basis corresponding using template when application deployment, avoids
The service of needs disposed one by one, improves the deployment speed of application.Also, it is carried out by deployment parameters constraint information
Parameter configuration can reduce learning cost when service configuration, improve the efficiency of configuration.
Specifically, referring to FIG. 1, Fig. 1 is a kind of flow chart using dispositions method provided by the embodiment of the present application.
This method may include:
S101 carries out services package building processing according to the information of service mirror image, obtains service type packet;Wherein, class is serviced
Type packet includes that deployment executes code and deployment parameters constraint information;
This step is intended to carry out services package building processing according to the information of service mirror image, obtains service type packet.Wherein, it takes
Service type packet mainly includes that deployment executes code and deployment parameters constraint information.Specifically, deployment parameters constraint information includes clothes
The title of business mirror image, description, affiliated classification, processing class, deployment way, the metadata information description for servicing mirror image.Wherein, it disposes
Restriction on the parameters information includes fixed parameter configuration, further includes constraining the option of content, for example, usually to select in deployment
Multiple versions of mirror image are serviced, at this time should include the option of multiple versions in constraint information, so that it may about according to the deployment parameters
Beam information carries out configuration processing, that is, is selected in the option of multiple versions, and then determines the version of service mirror image.It can
To improve the configuration speed of service mirror image, the form for avoiding passing through order line carries out parameter configuration to service mirror image, reduces service
The learning cost of image parameter configuration.
It includes source code, service type displaying icon, source code dependence packet that deployment, which executes code, wherein is mainly wrapped in source code packet
The relevant treatment class for the service of writing is included, such as the relevant interface of parameter configuration context transfer, calling Kubernetes is taken
The contents such as the creation of business.Service mirror image may be implemented by deployment execution code and carry out automatic deployment according to the parameter postponed,
Improve the deployment speed of service mirror image.
Multiple service type packets handle using layout by S102, and be applied template;
On the basis of step S101, this step is intended to carry out multiple service type packets to handle using layout, is answered
Use template.
Since the premise of application deployment is the multiple services of deployment, need in this step by multiple service type packet layouts
At using template.Also, the service mirror image of the certain applications in the environment of application deployment can be multiplexed, and therefore, be compiled in this step
The set for arranging obtained service type packet may be multiplexed, therefore be called using template.Difference can will be directed to using template
Application carry out parameter configuration, and then disposed for different applications.
Due to being to have the relationship of linkage between each other in the presence of mutually reference between servicing and servicing in the actual environment, because
This needs handle using layout by multiple service type packets in advance, and be applied template.
Optionally, step S102 may include:
Multiple service type packets handle using layout according to layout code, be applied template.
It writes to obtain layout code by YAML markup language in this optinal plan, executes the layout code, that is,
Service type packet handle using layout according to the content of layout code, be applied template.Wherein, layout is mainly true
Determine the relationship between service type packet, for example, using needed in template tomcat service and database service, tomcat service and
It needs to be determined that therefore the relationship mutually applied determines above-mentioned two by YAML markup language in this step between data service
Adduction relationship between a service is determining realizes the layout processing between service.
S103 carries out configuration processing according to all deployment parameters constraint informations in application template, according to configuration result and institute
There is deployment to execute code to dispose corresponding service mirror image, to complete using deployment operation.
On the basis of step S102, this step is intended to be carried out according to deployment parameters constraint information all in application template
Configuration processing, that is, more specifical parameter is set, obtain corresponding configuration result.And it is executed according to configuration result and deployment
Code disposes service mirror image.Each service mirror image executes code by corresponding configuration result and deployment and carries out automatically
Deployment improves the deployment speed of service mirror image, further improves the efficiency using deployment.
Wherein, the configuration processing carried out mainly configures the information of application and service, such as service operation institute
Memory size, CPU core number, instance number information for needing etc..
In conclusion the present embodiment by according to service mirror image information generate service type packet, can in deployment services
It is disposed with directly executing service type packet, carrying out parameter configuration by deployment parameters constraint information can be improved configuration speed
It spends, and dispose process execution deployment execution code to reduce manual intervention degree during deployment, further increases service
The speed of deployment, directly disposes corresponding using template on this basis when application deployment, avoid service to needs one by one
It is disposed, improves the deployment speed of application.
On the basis of above embodiments, the present embodiment is intended to provide a kind of processing side for the S103 in above embodiments
Method.
Specifically, referring to FIG. 2, the application template that Fig. 2 is application dispositions method provided by the embodiment of the present application is disposed
The flow chart of method.
This method may include:
S201 carries out configuration processing according to all deployment parameters constraint informations in application template, obtains configuration result;
S202 chooses corresponding service mirror image according to configuration result;
During configuration, it is thus necessary to determine that the service mirror image used can be the version of service mirror image, be also possible to same
Specific service in type of service can also be the image release of specific service in same type service, be not specifically limited herein.
All configuration results, all service mirror images and all deployment execution code are deployed to Kubernetes by S203
In environment, to complete using deployment operation.
Wherein, Kubernetes is container cluster management system, it is obtained as above to service type packet in be with container
Mode is saved, and therefore, all configuration results, all service mirror images and all deployment is executed code deployment in this step
In Kubernetes environment, which can carry out multiple service arrangement operations automatically, when all service arrangements are complete
Cheng Shi just completes the deployment operation of application.
Template dispositions method is applied in through this embodiment, can only pass through the constraint information of parameter in application deployment
The parameter of service mirror image and application is configured, technical staff is avoided to configure by way of order line, reduces service
The difficulty of configuration, and then reduce the error rate of service configuration.
On the basis of above embodiments, the present embodiment provides a kind of methods using layout.Volume through this embodiment
Learning cost when discharge method can be reduced using layout improves the efficiency of layout.
Specifically, referring to FIG. 3, Fig. 3 is application dispositions method provided by the embodiment of the present application using method of combination
Flow chart.
This method may include:
S301 handle using layout to multiple service type packets, obtains deployment scheme according to visualization layout result;
This step mainly receives deployment scheme information by visual programming facility, further according to deployment scheme information
Specific deployment scheme can be formed with corresponding service type packet, and then is saved service type packet by deployment scheme
It can be obtained by accordingly using template.
It should be noted that visual programming facility mainly includes three parts: pel area, intersection region, editing area.Pel
Area shows service type packet by service type classification.Intersection region shows line, for connecting service type packet in editing area,
Customize the relationship between service type packet.The service type packet in pel area is pulled, intersection region links in editing area, can be to clothes
Service type packet carries out layout, and fast custom forms deployment scheme.Therefore, skill can be reduced by carrying out layout by visual mode
Learning cost of the art personnel in layout, while visual mode can reduce layout to avoid the mistake of code arranged mode
Error rate.
S302 saves multiple service type packets according to deployment scheme, and be applied template.
On the basis of S301, this step can be protected multiple corresponding service type packets according to deployment scheme
It deposits, be applied template.
The embodiment of the present application provides a kind of information generation service applied dispositions method, can pass through according to service mirror image
Type packet can directly execute service type packet in deployment services and be disposed, be joined by deployment parameters constraint information
Number configuration configuration speed can be improved, and dispose process execute deployment execute code can reduce deployment during manual intervention
Degree further increases the speed of service arrangement, directly disposes on this basis corresponding using template when application deployment, avoids
The service of needs disposed one by one, improves the deployment speed of application.
A kind of application deployment device provided by the embodiments of the present application is introduced below, a kind of application section described below
Administration's device can correspond to each other reference with a kind of above-described application dispositions method.
Specifically, referring to FIG. 4, Fig. 4 is a kind of structural representation of application deployment device provided by the embodiment of the present application
Figure.
The apparatus may include:
Service arrangement information package module 100 is obtained for carrying out services package building processing according to the information of service mirror image
Service type packet;Wherein, service type packet includes that deployment executes code and deployment parameters constraint information;
Module 200 is obtained using template, for handle using layout by multiple service type packets, be applied mould
Version;
Using deployment module 300, for carrying out configuration processing, root according to all deployment parameters constraint informations in application template
It executes code according to configuration result and all deployment to dispose corresponding service mirror image, to complete using deployment operation.
Optionally, this may include: using deployment module 300
Service configuration unit is obtained for carrying out configuration processing according to all deployment parameters constraint informations in application template
Configuration result;
Mirror image selection unit is serviced, for choosing corresponding service mirror image according to configuration result;
Deployment unit, for all configuration results, all service mirror images and all deployment execution code to be deployed to
In Kubernetes environment, to complete using deployment operation.
Optionally, this may include: using template acquisition module 200
Code arranging unit is answered for handle using layout to multiple service type packets according to layout code
Use template.
Optionally, this may include: using template acquisition module 200
Arranging unit is visualized, for carrying out multiple service type packets using at layout according to visualization layout result
Reason, obtains deployment scheme;
Using template acquiring unit, for being saved according to deployment scheme to multiple service type packets, be applied mould
Version.
The embodiment of the present application also provides a kind of server, comprising:
Memory, for storing computer program;
Processor realizes the step using dispositions method as described above in Example when for executing the computer program
Suddenly.
The embodiment of the present application also provides a kind of computer readable storage medium, stores on the computer readable storage medium
There is computer program, is realized when the computer program is executed by processor as described above in Example using dispositions method
Step.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to a kind of application dispositions method provided herein, can using deployment device, server and computer
Storage medium is read to be described in detail.Specific case used herein explains the principle and embodiment of the application
It states, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that for this skill
For the those of ordinary skill in art field, under the premise of not departing from the application principle, several change can also be carried out to the application
Into and modification, these improvement and modification also fall into the protection scope of the claim of this application.
Claims (10)
1. a kind of apply dispositions method characterized by comprising
Services package building processing is carried out according to the information of service mirror image, obtains service type packet;Wherein, the service type packet
It includes deployment and executes code and deployment parameters constraint information;
Multiple service type packets handle using layout, be applied template;
Configuration processing is carried out according to the deployment parameters constraint informations all in the application template, according to configuration result and is owned
The deployment executes code and disposes to corresponding service mirror image, to complete using deployment operation.
2. according to claim 1 apply dispositions method, which is characterized in that according to all portions in the application template
Administration's restriction on the parameters information carries out configuration processing, executes code to corresponding service mirror image according to configuration result and all deployment
It is disposed, to complete using deployment operation, comprising:
Configuration processing is carried out according to the deployment parameters constraint informations all in the application template, obtains the configuration result;
Corresponding service mirror image is chosen according to the configuration result;
All configuration results, all service mirror images and all deployment are executed code to be deployed to
It is described using deployment operation to complete in Kubernetes environment.
3. according to claim 1 apply dispositions method, which is characterized in that apply multiple service type packets
Layout processing, be applied template, comprising:
Multiple service type packets handle using layout according to layout code, are obtained described using template.
4. according to claim 1 apply dispositions method, which is characterized in that apply multiple service type packets
Layout processing, be applied template, comprising:
Multiple service type packets handle using layout according to visualization layout result, obtain deployment scheme;
Multiple service type packets are saved according to the deployment scheme, are obtained described using template.
5. device is disposed in a kind of application characterized by comprising
Service arrangement information package module obtains service class for carrying out services package building processing according to the information of service mirror image
Type packet;Wherein, the service type packet includes that deployment executes code and deployment parameters constraint information;
Module is obtained using template, for handle using layout by multiple service type packets, be applied template;
Using deployment module, for carrying out configuration processing according to the deployment parameters constraint informations all in the application template,
It executes code according to configuration result and all deployment to dispose corresponding service mirror image, to complete using deployment behaviour
Make.
6. device is disposed in application according to claim 5, which is characterized in that described to apply deployment module, comprising:
Service configuration unit, for carrying out configuration processing according to the deployment parameters constraint informations all in the application template,
Obtain the configuration result;
Mirror image selection unit is serviced, for choosing corresponding service mirror image according to the configuration result;
Deployment unit, for all configuration results, all service mirror images and all deployment to be executed code
It is deployed in Kubernetes environment, it is described using deployment operation to complete.
7. device is disposed in application according to claim 5, which is characterized in that the application template obtains module, comprising:
Code arranging unit obtains institute for handle using layout to multiple service type packets according to layout code
It states using template.
8. device is disposed in application according to claim 5, which is characterized in that the application template obtains module, comprising:
Arranging unit is visualized, for carrying out multiple service type packets using at layout according to visualization layout result
Reason, obtains deployment scheme;
Institute is obtained for saving according to the deployment scheme to multiple service type packets using template acquiring unit
It states using template.
9. a kind of server characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program and applies dispositions method as Claims 1-4 is described in any item
The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, when the computer program is executed by processor realize as Claims 1-4 it is described in any item using dispositions method
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810974027.9A CN109298870A (en) | 2018-08-24 | 2018-08-24 | A kind of application dispositions method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810974027.9A CN109298870A (en) | 2018-08-24 | 2018-08-24 | A kind of application dispositions method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109298870A true CN109298870A (en) | 2019-02-01 |
Family
ID=65165373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810974027.9A Pending CN109298870A (en) | 2018-08-24 | 2018-08-24 | A kind of application dispositions method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109298870A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857738A (en) * | 2020-08-05 | 2020-10-30 | 北京千丁互联科技有限公司 | Privatization deployment method and device |
CN115202670A (en) * | 2022-06-17 | 2022-10-18 | 平安银行股份有限公司 | Application batch publishing method, device, electronic device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
US20160026457A1 (en) * | 2010-02-25 | 2016-01-28 | Microsoft Technology Licensing, Llc. | Automated deployment and servicing of distributed applications |
CN107896162A (en) * | 2017-11-08 | 2018-04-10 | 平安科技(深圳)有限公司 | Dispositions method, device, computer equipment and the storage medium of monitoring system |
-
2018
- 2018-08-24 CN CN201810974027.9A patent/CN109298870A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160026457A1 (en) * | 2010-02-25 | 2016-01-28 | Microsoft Technology Licensing, Llc. | Automated deployment and servicing of distributed applications |
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
CN107896162A (en) * | 2017-11-08 | 2018-04-10 | 平安科技(深圳)有限公司 | Dispositions method, device, computer equipment and the storage medium of monitoring system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857738A (en) * | 2020-08-05 | 2020-10-30 | 北京千丁互联科技有限公司 | Privatization deployment method and device |
CN111857738B (en) * | 2020-08-05 | 2024-06-25 | 北京千丁互联科技有限公司 | Privately-owned deployment method and device |
CN115202670A (en) * | 2022-06-17 | 2022-10-18 | 平安银行股份有限公司 | Application batch publishing method, device, electronic device and storage medium |
CN115202670B (en) * | 2022-06-17 | 2025-05-27 | 平安银行股份有限公司 | Application batch publishing method, device, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109656623B (en) | It executes the method and device of convolution algorithm operation, generate the method and device of instruction | |
CN106484394B (en) | A kind of fast software development system with double engines | |
CN101828170B (en) | Creating a virtual machine containing third party code | |
CN107992344B (en) | Coroutine implementation method and coroutine implementation device | |
CN107679832A (en) | Task management method, device and server | |
CN108647032B (en) | Application loading method and apparatus, computer apparatus and computer-readable storage medium | |
CN108282518A (en) | A kind of customer terminal webpage generation method and device | |
CN111158743B (en) | Big data operation and maintenance management platform | |
CN110083379A (en) | A kind of server component upgrade method and relevant apparatus | |
CN117406982B (en) | A storage and computing integrated application generation system and generation method, storage medium and device | |
CN109298873A (en) | A kind of method for upgrading system and device | |
CN111399941A (en) | Batch configuration method, device and equipment for BMC (baseboard management controller) functions | |
CN109298870A (en) | A kind of application dispositions method and relevant apparatus | |
CN111176790A (en) | Active maintenance method and device of cloud platform physical host and readable storage medium | |
CN110018866B (en) | User interface theme updating method, device, system, vehicle and vehicle | |
CN110046100A (en) | A kind of method, electronic equipment and the medium of grouping test | |
US8196093B2 (en) | Apparatus and method for componentizing legacy system | |
CN109409531A (en) | A kind of machine learning method, device and equipment based on serializing file | |
CN108958813A (en) | file system construction method, device and storage medium | |
CN112235132A (en) | Method, device, medium and server for dynamically configuring service | |
CN106201584B (en) | Version upgrading method and terminal device | |
CN110764864A (en) | Terraform-based visual resource arrangement method | |
CN109117465A (en) | A kind of the global parameter replacement method and device of batch script | |
CN109766123A (en) | Application program packaging method and device | |
CN109542504A (en) | A kind of node information collection and device of Linux node |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190201 |