CN110275775B - Resource allocation method, system and storage medium for container application - Google Patents

Resource allocation method, system and storage medium for container application Download PDF

Info

Publication number
CN110275775B
CN110275775B CN201910411108.2A CN201910411108A CN110275775B CN 110275775 B CN110275775 B CN 110275775B CN 201910411108 A CN201910411108 A CN 201910411108A CN 110275775 B CN110275775 B CN 110275775B
Authority
CN
China
Prior art keywords
container
application
resource
information
instruction
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
CN201910411108.2A
Other languages
Chinese (zh)
Other versions
CN110275775A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910411108.2A priority Critical patent/CN110275775B/en
Publication of CN110275775A publication Critical patent/CN110275775A/en
Application granted granted Critical
Publication of CN110275775B publication Critical patent/CN110275775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a resource allocation method, a system and a storage medium for container application, relates to the technical field of cloud computing, and can be applied to a PaaS platform. The method comprises the following steps: if a resource allocation request of the container application is received, acquiring application mirror image information of the container application; the method comprises the steps of obtaining pre-configured resource parameter information corresponding to application mirror image information from a database; packaging the pre-configured resource parameter information into an object; the object is uploaded to a container orchestration tool to configure the resources of the container application with the container orchestration tool according to the resource parameter information in the object. According to the embodiment of the application, the resource configuration is carried out on all container examples of the container application through the container arrangement tool at one time, the manual configuration is not needed after the container examples are logged in one by one, the speed and the efficiency of the resource configuration of the container application are improved, and meanwhile, the configuration omission is avoided.

Description

Resource allocation method, system and storage medium for container application
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a method, a system, and a storage medium for resource allocation of a container application.
Background
In a cloud Platform, such as a PaaS-as-a-Service (PaaS-as-a-Service) Platform, generally, after a container application is created, a container instance corresponding to the container application is only a bare container, and a user needs to configure resources one by one before actually putting the container application into use. The user needs to manually configure the resources one by one after logging in the container by the user, which is complicated, and the container omits the configuration of some resources, and meanwhile, the user needs to have higher professional level to perform the configuration.
Disclosure of Invention
The embodiment of the application provides a resource allocation method, a device, computer equipment and a storage medium for container application, which can allocate resources for all container instances of the container application at one time and improve the speed and efficiency of the resource allocation of the container application.
In a first aspect, an embodiment of the present application provides a resource allocation method for a container application, including:
if a resource allocation request of the container application is received, acquiring application mirror image information of the container application; acquiring pre-configured resource parameter information corresponding to application mirror image information from a database according to the application mirror image information of the container application; packaging the pre-configured resource parameter information to form an object; uploading the object to a container arrangement tool through a preset interface so as to configure the resources of the container application by using the container arrangement tool according to the resource parameter information in the object.
In a second aspect, an embodiment of the present application provides a configuration modification system for a container application, where the configuration modification system for a container application includes a unit corresponding to the method for executing the first aspect.
In a third aspect, an embodiment of the present application provides a computer system, where the computer system includes at least three computer devices, each of the computer devices includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processors in the at least three computer devices collectively implement the method described in the first aspect when the processors execute the corresponding computer programs.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program, which when executed by a processor, implements the method according to the first aspect.
The embodiment of the application packages the resource parameter information to be configured into the object and uploads the object to the container arrangement tool so as to configure the resource of the container application by using the container arrangement tool according to the resource parameter information in the object. According to the embodiment of the application, the resource configuration is carried out on all container examples of the container application through the container arrangement tool at one time, manual configuration is not needed after logging in the container examples one by one, the speed and efficiency of the resource configuration of the container application are improved, the configuration process is automatically completed, the resource configuration efficiency of the container application is further improved, meanwhile, the configuration omission of certain resources on some container examples is avoided, the configuration can be completed without a higher professional level of a user, and the labor cost and the time cost are saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for resource allocation of a container application according to an embodiment of the present application;
FIG. 2 is a schematic sub-flowchart of a resource allocation method for a container application according to an embodiment of the present application;
FIG. 3 is a schematic sub-flowchart of a resource allocation method for a container application according to an embodiment of the present application;
FIG. 4 is a schematic sub-flowchart of a resource allocation method for a container application according to an embodiment of the present application;
FIG. 5 is a schematic sub-flowchart of a resource allocation method for a container application according to an embodiment of the present application;
FIG. 6 is a flow chart of a method for resource allocation for a container application according to another embodiment of the present application;
FIG. 7 is a schematic block diagram of a configuration modification system for a container application provided by an embodiment of the present application;
FIG. 8 is a schematic block diagram of a server provided by an embodiment of the present application;
FIG. 9 is a schematic block diagram of a container orchestration tool provided by embodiments of the present application;
FIG. 10 is a schematic block diagram of a server provided by another embodiment of the present application;
fig. 11 is a schematic block diagram of a computer device provided by an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1 is a flow chart of a resource allocation method of a container application according to an embodiment of the present application. As shown in fig. 1, the method includes S101-S104.
S101, if a resource allocation request of the container application is received, acquiring application image information of the container application.
The resource configuration request of the container application may be triggered in a number of ways. Triggering by clicking or triggering a button or an image by a user after the container instance of the container application is established, for example, clicking a resource configuration button corresponding to a certain container application in a list of the container application, and triggering a resource configuration request of the container application; such as by receiving a voice resource configuration message from a user to trigger a corresponding resource configuration request. It will be appreciated that in these application scenarios, the creation of container instances for container applications and the resource allocation of container instances take place separately. The resource configuration request includes information of the container application, such as identification information of the container application. The identification information of the container application may be the name of the container application or the number of the container application, etc. information that can determine which container application is specific. And acquiring other various information of the container application, such as application mirror information of the container application, from the database according to the identification information of the container application.
In some application scenarios, for example, the container instance of the container application is detected to be created and completed, that is, the resource configuration request of the container application is actively triggered, so that it can be understood that the parameter configuration of the container instance is performed while the container instance of the container application is created, that is, the creation of the container instance and the parameter configuration of the container instance are completed at one time. The method comprises the steps of detecting that the container instance of the container application is built, detecting whether the message of successful creation returned by a host machine where all container instances are located is received, and if the message of successful creation returned by the host machine is received, determining that the container instance of the container application is built. In other embodiments, it may also be detected in other ways whether the creation of the container instance of the container application is complete. In this manner, the application image information for creating the container instance is obtained from the information for the created container instance (which may already be stored in the database or may be in the cache).
The image information of the container application includes an image type, and can also be specific to different versions under the same image type, and the like.
It will be appreciated that if the container instance of the container application is created, the corresponding container instance is simply a bare container, and the bare container instance cannot be put into use directly, and some parameter configuration, such as some parameter configuration at the operating system level, needs to be performed on the bare container instance.
S102, acquiring pre-configured resource parameter information corresponding to application mirror information from a database according to the application mirror information of the container application.
The pre-configured resource parameter information corresponding to the application image information comprises: CPU, memory, DNS server, protocol to monitor probe container instances, path information to monitor probe container instances (information needed for health probes), container performance monitoring information, mounted volume information for container applications, etc.
The pre-configuration of the resource parameter information can be realized by the following ways: acquiring all application mirror image information in an enterprise platform; configuring resource parameter information of the application mirror image according to application requirements of enterprises and attribute information of each application mirror image information, and taking the configured resource parameter information of the application mirror image as pre-configured resource parameter information corresponding to the application mirror image; and saving the resource parameter information of the preconfigured application image to a database. The attribute information of the application image information includes information such as the size of the application image and the size of the starting consumed resource. For different applications, the application requirements of the enterprise may be different, such as for tomcat application mirroring and webogic application mirroring, and the user traffic of the webogic application may be much larger than that of tomcat, so that the resource parameter of the webogic application mirroring is set to be larger than that of tomcat, such as the memory capacity is larger. For example, for the redhat application image and the webogic application image, the redhat application image does not need to consume much resources, but the webogic application image is started to consume resources, so that the resource parameter of the webogic application image is set to be larger than that of the redhat, for example, the redhat is set as a CPU1 core, the memory 2G, the webogic is set as a CPU2 core, the memory 4G and the like. In addition, if the DNS server is used, the DNS server needs to be determined according to the application architecture in the application requirements of enterprises, such as the application environment of the container application and the region of the container application can be distinguished, and the DNS server used in different application environments and different regions is different; and DNS servers are typically not modified, if the modification requires a higher authority user. For example, for the protocol of monitoring the probe container instance and the path of the monitoring probe container instance, the monitoring probe of each container application is defaulted to have an initialization specification, for example, the redhat application mirror uses the TCP protocol, the availability of the 22 ports is detected, the weblogic application mirror uses the http protocol, the availability of the 8080 ports is detected, and relevant probe pages are acquired (according to the specification of the probe pages set in the platform, for example, all application mirrors supporting the http protocol probe need relevant probe pages as xx.html by default, etc.). For container performance monitoring, for example, parameter setting of container performance monitoring can be performed when information of a container application is set, if performance monitoring is required for a container instance of the container application, the value of the parameter of the container performance monitoring is yes, and if performance monitoring is not required for the container instance of the container application, the value of the parameter of the container performance monitoring is no. For container performance monitoring, the platform may also determine whether to perform performance monitoring for a container instance of the container application based on the unused mirrored information. For the mount volume of the container application, a mount volume directory is created on a corresponding data volume, such as a NAS data volume, provided by the platform itself, for storing an application directory, a configuration directory, and the like of the container application, for example, by default. And taking the created mounted volume catalogue as a parameter value of a container application mounted volume parameter.
If the application image information includes image types, it can be understood that the resource parameter information is preconfigured for application images of different image types, so that the resource parameter information corresponding to the application images of different image types is different. If the application image information includes an image type and an image version, it can be understood that for the application images of different image versions under each image type, the resource parameter information is preconfigured, that is, different image versions of different image types and different image versions of the same image type, and the corresponding resource parameter information is different. In this way, the resource parameter information of the container application is configured more finely.
And S103, packaging the pre-configured resource parameter information to form an object.
And packaging parameters such as a CPU, a memory, a DNS server, a protocol for monitoring the instance of the detection container, path information for monitoring the instance of the detection container, container performance monitoring information, mounting volume information of the container application and the like, wherein the packaged parameter information exists in an object mode. The object is an object that the preset interface can receive, or it can be understood that the object conforms to a format specified by the preset interface. The preset interface is an interface capable of calling the container arranging tool, and the object is uploaded to the container arranging tool through the preset interface. In this manner, the packaged object may be identified and processed by the container orchestration tool. Specifically, step S103 includes: converting the pre-configured resource parameter information into a preset format; and packaging the resource parameter information converted into the preset format as an object. The preset format is a format conforming to the specification of the preset interface. As in one embodiment, the preconfigured resource parameter information is converted to json format. If the pre-configured resource parameter information includes DNS server and CPU parameter information, the object after encapsulation may be exemplified as follows.
Wherein, the dns server is set to 192.168.1.1, the host name of the container is set to xxxx, the core value of the CPU is set to 10000, the application mirror image of the application for the container is set to xxyy, and the network mode is set to birdge. It should be noted that this illustration is for illustration only and is not to be construed as limiting the packaged object.
S104, uploading the object to a container arrangement tool through a preset interface, and configuring the resources of the container application by using the container arrangement tool according to the resource parameter information in the object.
The container arranging tool can be a Marathon tool, and can also be other container arranging tools capable of realizing the same function. Uploading the packaged object to a container arranging tool through a preset interface, wherein the preset interface is an interface for calling the container arranging tool. If the preset interface appears by adding the parameters carried in url to http (https), if the preset interface is http:// { marathon_ip }/v2/apps/{ appid? force = true, where marathon_ip is access IP of the container orchestration tool and app id is the container application name of the modification configuration. Specifically, the object is uploaded to the container arrangement tool through a preset interface by using a put method. After receiving the object, the container orchestration tool calls a function to process. Specifically, the container arrangement tool distributes and distributes a part of resource parameters in the packaged object to a host machine where a container instance of the container application is located, so as to configure resources of the container instance of the container application according to the resource parameter information, wherein the part of resource parameters comprise a CPU (Central processing Unit), a memory, a DNS (Domain name Server), container performance monitoring information, mounting volume information of the container application and the like; and saving another part of resource parameters in the object to configure the resources of the container application according to the saved resource parameter information, wherein the another part of resource parameters comprise the protocol for monitoring the probe container instance and the path information of the probe container instance. It should be noted that when the resources of the container application are configured through the container arrangement tool, the container arrangement tool can push the corresponding resource parameter information to the host without logging into each container to perform manual configuration.
If the resource parameter information in the object includes resource parameter information corresponding to a CPU, a memory, and a DNS server, as shown in fig. 2, the configuring, according to the resource parameter information in the object, the resource of the container application by using the container arrangement tool includes: pushing resource parameter information corresponding to the CPU, the memory and the DNS server to a host computer where a container instance of the container application is located through a container arrangement tool; and if the container instance of the container application on the host is detected to be started, executing the basic configuration container instruction to perform resource configuration of the CPU, the memory and the DNS server. Specifically, the following steps S201-S203 are included.
S201, converting resource parameter information corresponding to a CPU, a memory and a DNS server into an executable container instruction through a container arrangement tool, and taking the container instruction as a basic configuration container instruction.
For example, for a CPU and a memory, the conversion of the resource parameter information corresponding to the 2-core 4G into the executable container instruction may be: dock-cpu-period=100000-cpu-quota=2×100000-m4 x 1024. It should be noted that this executable container instruction is exemplary only.
As for DNS servers, the conversion of the corresponding resource parameter information into executable container instructions may be: dock-dns=xx.xx.xx.xx-dns=yy.yy.yy, where xx.xx.xx.xx, yy.yy.yy represent IP addresses of DNS servers, and can support unlimited DNS servers, and typically, 2 DNS servers are set.
It will be appreciated that CPU, memory, DNS are the basic configuration that each container instance must configure.
S202, pushing the basic configuration container instruction to a host machine where the container instance of the container application is located through a container arrangement tool.
The basic configuration container instructions are pushed to the hosts where all container instances of the container application are located by the container orchestration tool. Thus, all container instances receive the basic configuration container instruction, and the situation that a certain container instance omits configuration does not occur.
And S203, if the container instance of the container application on the host is detected to be started, executing the basic configuration container instruction to perform resource configuration of the CPU, the memory and the DNS server.
This embodiment enables the resource allocation of the CPU, memory, DNS servers of the container instance of the container application.
If the resource parameter information in the object includes container performance monitoring information, as shown in fig. 3, the configuring the resource of the container application by using the container arrangement tool according to the resource parameter information in the object includes: pushing the container performance monitoring information to a host computer where a container instance of the container application is located through a container orchestration tool; the host configures performance monitoring resources of the container instance according to the performance monitoring container instructions, and collects operational data information of the container instance according to the configured performance monitoring resources of the container instance. Specifically, the following steps S301-S303 are included.
S301, converting the container performance monitoring information into an executable container instruction through a container arrangement tool, and taking the container instruction as a performance monitoring container instruction.
The performance monitoring is mainly used for monitoring the use conditions of CPU, memory and the like of the container instance of the container application.
And S302, pushing the performance monitoring container instruction to a host machine where the container instance of the container application is located through a container arrangement tool.
S303, the host configures the performance monitoring resources of the container instance according to the performance monitoring container instruction, and collects the operation data information of the container instance according to the configured performance monitoring resources of the container instance.
The host configures the performance monitoring resource of the container instance according to the performance monitoring container instruction, which can be understood as saving the container instance information of the container application on the monitoring process of the host according to the performance monitoring container instruction, and starting to monitor the container instance on the monitoring process. In this way, the host is informed of the performance monitoring container instruction, and the container instance of the container application needs to start performance monitoring, so that the monitoring process on the host monitors the running data information such as CPU, memory, etc. of the container instance of the container application. It should be noted that by default, all hosts will have a monitor process installed on them and the monitor process is enabled.
This embodiment enables resource allocation for container performance monitoring of container applications.
If the resource parameter information in the object includes the mount volume information of the container application, where the mount volume information of the container application includes an application catalog of the container application, as shown in fig. 4, the configuring the resource of the container application by using the container arrangement tool according to the resource parameter information in the object includes: pushing the mounting volume information of the container application to a host computer where the container instance of the container application is located through a container arrangement tool; and if the container instance of the container application on the host is detected to be started, executing the instruction for configuring the container by the mounting volume so as to realize the resource configuration of the mounting volume of the container application. Specifically, the following steps S401 to S403 are included.
S401, converting the information of the mounted volume of the container application into an executable container instruction through a container arrangement tool, and taking the container instruction as a mounted volume configuration container instruction.
The conversion of the mount volume information of the container application into executable container instructions may be: dock-v/nfsc/app system/{ app id }:/data: rw.
And S402, pushing the mounting volume configuration container instruction to a host machine where the container instance of the container application is located.
S403, if the container instance of the container application on the host is detected to be started, executing the instruction for configuring the container by the mounting volume so as to realize the resource configuration of the mounting volume of the container application.
If the resource parameter information in the object includes a protocol for monitoring the probe container instance and path information for monitoring the probe container instance, the mount volume information of the container application includes an application catalog of the container application, as shown in fig. 5, and the resource of the container application is configured by using the container arranging tool according to the resource parameter information in the object, including the following steps S501-S502.
S501, the protocol of the monitoring detection container instance and the path information of the monitoring detection container instance are stored through a container arrangement tool.
The protocol of the monitoring probe container instance and the path information of the monitoring probe container instance are stored on the container orchestration tool because the protocol of the monitoring probe container instance and the configuration of the path information of the monitoring probe container instance are to enable health detection of the container instance, which is enabled by the container orchestration tool. Among the protocols that monitor probe container instances include specific protocols and ports, such as http protocol, 8080 ports. Monitoring path information for probe container instances includes probing the path of the page.
S502, configuring monitoring detection resources of the container application according to the saved protocol of the monitoring detection container instance and path information of the monitoring detection container instance so as to detect whether the container instance of the container application is available according to the configured monitoring detection resources of the container application.
It should be noted that, the protocol of the monitoring detection container instance and the path information of the monitoring detection container instance only need to be issued to the arrangement tool, the monitoring resource of the container application is configured on the arrangement tool, and whether the container instance of the container application is available is detected according to the configured monitoring resource.
In an embodiment, the resource allocation method of the container application further includes: and receiving a resource configuration result returned by the container arrangement tool. The resource allocation result comprises a resource allocation success result or a resource allocation failure result.
According to the method, resource allocation is carried out on all container examples of the container application at one time through the container arrangement tool, manual allocation is not needed after the container examples are logged in one by one, speed and efficiency of resource allocation of the container application are improved, the allocation process is automatically completed, efficiency of resource allocation of the container application is further improved, meanwhile, allocation omission of certain resources on some container examples is avoided, allocation can be completed without a higher professional level of a user, and labor cost and time cost are saved. In addition, the method embodiment can realize different resource allocation according to different application mirror image information so as to meet the resource allocation requirements of different applications.
The resource allocation in the above method embodiments is performed automatically based on pre-configured resource parameter information, and thus, in some embodiments, there may be some resource allocation modifications to the container application. Fig. 6 is a flowchart of a resource allocation method of a container application according to another embodiment of the present application. As shown in fig. 6, the resource allocation method of the container application includes the following steps S601 to S606. Steps S601-S604 correspond to steps S101-S104 in the embodiment of fig. 1, and refer to the corresponding content in the embodiment of fig. 1. The contents of steps S605-S606 will be described in detail below.
S601, if a resource allocation request of the container application is received, acquiring application image information of the container application.
S602, according to application mirror image information of a container application, obtaining pre-configured resource parameter information corresponding to the application mirror image information from a database.
S603, packaging the preconfigured resource parameter information to form an object.
S604, uploading the object to a container arrangement tool through a preset interface, so as to configure the resources of the container application by using the container arrangement tool according to the resource parameter information in the object.
S605, if a resource configuration modification request applied to the container is received, a resource setting interface is called through the resource configuration modification request so as to receive resource parameter information to be modified, which is set through the resource setting interface.
The resource setting interface is developed by a developer and can exist in the form of a setting interface. The resource parameter information to be modified of the container application can be set through a preset modification interface. The modifiable resource parameter information displayed on the setting interface is consistent with the preconfigured resource parameter information, so that the resource parameter information to be modified comprises one or more of a CPU, a memory, a DNS server, a protocol for monitoring the detection container instance, path information for monitoring the detection container instance, container performance monitoring information, and mounting volume information of the container application to be modified. It will be appreciated that when modifying the resource configuration of the container application, it may be modifying a certain resource parameter or a plurality of resource parameters in the resource parameter information. And if the information of the mounting volume applied to the container is modified, the information is indicated to be that the data volume mounting is required to be additionally applied. Unlike the mounted volume information of the preconfigured container application above.
Specifically, if the change of the resource parameter information in the resource setting interface is detected, the changed resource parameter information is used as the resource parameter information to be modified.
If the resource parameter information to be modified includes one or more resource parameters of a CPU, a memory, container performance monitoring information, a protocol for monitoring the probe container instance, path information for monitoring the probe container instance, and the like. If the resource setting interface displays candidate options corresponding to the resource parameters to be modified, receiving options selected by a user from the candidate options corresponding to the resource parameters to be modified, and taking the values of the selected options as parameter values of the resource parameters to be modified, wherein the candidate options of the container performance monitoring information comprise yes (starting container performance monitoring) and no (not starting container performance monitoring), and the candidate options of the CPU comprise 1 core, 2 core, 4 core and the like; if the candidate option corresponding to the resource parameter to be modified is not displayed in the resource setting interface, the parameter value input by the user is received, and the parameter value is used as the parameter value of the resource parameter to be modified, for example, as for the memory, the memories required by the container instances of different container applications are different, so that the required memory value can be directly input. And modifying the parameter value of the resource parameter to be modified according to the resource parameter information to be modified, for example, changing the CPU resource parameter from 1 core to 2 cores, changing the memory resource parameter from 2G to 4G, and changing the non-startup container performance monitoring to the startup container performance monitoring.
For the DNS server resource parameters, because the DNS server resource is related to the application architecture of the enterprise, before receiving the resource configuration modification request for the container application, detecting whether the current user is a user with preset authority, if so, receiving the resource configuration modification request (DNS server resource configuration modification request) for the container application, calling a resource setting interface (such as a DNS resource setting interface) through the resource configuration modification request, displaying candidate DNS server options through the resource setting interface, receiving a DNS server value selected by the user from the candidate DNS server options, and taking the DNS server value as the DNS server resource parameter value to be modified.
If the data volume mounting is required to be additionally applied, receiving a resource configuration modification request (data volume mounting application request) applied to the container, and calling a resource setting interface (data volume mounting resource setting interface) through the resource configuration modification request so as to receive information of the mounted data volume (such as NAS data volume) filled through the resource setting interface, such as mounting point and NAS machine head information; submitting an audit request, wherein the audit request comprises the mounted NAS information; and if the message passing the verification is received, writing the mounted NAS information into the auto. Nfsc file.
S606, uploading the set resource parameter information to be modified to a container arrangement tool, so as to update the resource configuration of the container application by using the container arrangement tool according to the set resource parameter information to be modified.
Pushing auto. Nfsc files (including mounted NAS information) into the NAS volume through an automated operation and maintenance tool such as an onsable tool, such as for additional application data volume mounting; if the container instance of the container application is detected to be started, copying the auto-nfsc file from the NAS volume to the inside of the container instance of the container application so as to automatically realize the rolling according to the mounting information in the auto-nfsc file. It should be noted that, for the additional application data volume mount, which is applied by the user, in order to distinguish from the preset hanging volume information of the container application provided by the platform itself, an automatic operation and maintenance tool is used to push the auto. Nfsc file into the NAS volume, so as to facilitate management. It will be appreciated that the pushing may also be performed using a container organizing tool.
Other resource parameters such as the CPU, the memory, the container performance monitoring information, the protocol for monitoring the probe container instance, and the path information for monitoring the probe container instance are similar to those in step S104, and detailed descriptions of S104 and fig. 2-5 will not be repeated here.
In an embodiment, after step S604, the resource allocation method of the container application further includes: and receiving a resource configuration result returned by the container arrangement tool. The resource allocation result comprises a resource allocation success result or a resource allocation failure result.
In one embodiment, after step S606, the resource allocation method of the container application further includes: and receiving a resource configuration result returned by the container arrangement tool, in particular a resource configuration updating result. The resource configuration updating result comprises a resource configuration updating success result or a resource configuration updating failure result.
The embodiment sets the resource parameter information to be modified through the resource setting interface, and automatically updates the resource configuration of all container instances of the container application according to the resource parameter information to be modified at one time. The information is more transparent through the resource setting interface, so that the operation of a user is facilitated, the experience of the user is improved, and the setting of the resource parameter information to be modified can be completed without professional staff; the resource allocation of all container instances of the container application is automatically updated once through the container arrangement tool, manual allocation is not needed after the container instances are logged in one by one, the speed and the efficiency of updating the resource allocation of the container application are improved, the allocation can be completed without a higher professional level of a user, and the labor cost and the time cost are saved.
FIG. 7 is a schematic block diagram of a configuration modification system for a container application provided by an embodiment of the present application. The configuration modification system 100 of the container application comprises a server 101 in a cloud platform, a container orchestration tool 102, at least one host machine 103. It should be noted that fig. 7 is only an example, and that the server 101 and the container arrangement tool 102 in fig. 7 are only one, but may be plural in actual cases.
As shown in fig. 8, the server 101 includes an image acquisition unit 1011, a preset resource acquisition unit 1012, a packaging unit 1013, and an uploading unit 1014. The image obtaining unit 1011 is configured to obtain application image information of the container application if a resource allocation request of the container application is received. The preset resource obtaining unit 1012 is configured to obtain, according to application image information of a container application, preset resource parameter information corresponding to the application image information from a database. And a packaging unit 1013 configured to package the preconfigured resource parameter information to form an object. An uploading unit 1014, configured to upload the object to a container arrangement tool through a preset interface, so as to configure the resource of the container application by using the container arrangement tool according to the resource parameter information in the object.
A container orchestration tool 102 for configuring resources of the container application according to the resource parameter information in the objects.
In one embodiment, as shown in fig. 9, the container organizing tool 102 includes a converting unit 1021, a pushing unit 1022.
If the resource parameter information in the object includes resource parameter information corresponding to a CPU, a memory, and a DNS server, the converting unit 1021 is configured to convert the resource parameter information corresponding to the CPU, the memory, and the DNS server into an executable container instruction, and use the container instruction as a basic configuration container instruction. The pushing unit 1022 is configured to push the basic configuration container instruction to a host where the container instance of the container application is located. The host machine 103 is configured to receive a basic configuration container instruction, and further configured to execute the basic configuration container instruction to perform resource configuration of the CPU, the memory, and the DNS server if it is detected that the container instance of the container application on the host machine is started.
If the resource parameter information in the object includes a protocol for monitoring the probe container instance and path information for monitoring the probe container instance, as shown in fig. 9, the container arrangement tool further includes a storage unit 1023 and a configuration unit 1024. Wherein, the save unit 1023 is used for saving the protocol of the monitoring detection container instance and the path information of the monitoring detection container instance through the container arrangement tool. A configuration unit 1024, configured to configure the monitoring probe resources of the container application according to the saved protocol of the monitoring probe container instance and the path information of the monitoring probe container instance, so as to detect whether the container instance of the container application is available according to the configured monitoring probe resources of the container application.
If the resource parameter information in the object includes container performance monitoring information, the conversion unit 1021 is configured to convert the container performance monitoring information into an executable container instruction, and use the container instruction as the performance monitoring container instruction. The pushing unit 1022 is configured to push the performance monitoring container instruction to a host where the container instance of the container application is located. The host machine 103 is configured to receive a performance monitoring container instruction, configure a performance monitoring resource of the container instance according to the performance monitoring container instruction, and collect operation data information of the container instance according to the configured performance monitoring resource of the container instance.
If the resource parameter information in the object includes the mount volume information of the container application, where the mount volume information of the container application includes an application catalog of the container application, the conversion unit 1021 is configured to convert the mount volume information of the container application into an executable container instruction, and use the container instruction as a mount volume configuration container instruction. The pushing unit 1022 is configured to push the mount volume configuration container instruction to a host where the container instance of the container application is located. The host machine 103 is configured to receive a container instruction for configuring a mount volume, and further configured to execute the container instruction for configuring the mount volume if a container instance of the container application is detected to be started, so as to implement resource configuration of the mount volume of the container application.
In addition, the host machine 103 is further configured to return the result of the resource configuration to the container arrangement tool, and return the collected operation data information of the container instance to the container arrangement tool. The container orchestration tool 102 further comprises a receiving unit, which is configured to receive the object uploaded by the server, and to receive the resource configuration result returned by the host, the result of whether the container instance of the detected container application is available, the operation data information of the container instance collected by the host, and so on. The pushing unit 1022 of the container arrangement tool is further configured to send the received resource configuration result returned by the host, the result of whether the container instance of the detected container application is available, and the operation data information of the container instance collected by the host to the server. The server further comprises a receiving unit for receiving all information returned by the container orchestration tool.
Fig. 10 is a schematic block diagram of a server provided in another embodiment of the present application. The server 101' includes an image acquisition unit 1011', a preset resource acquisition unit 1012', a packaging unit 1013', an uploading unit 1014', a modification setting unit 1015, and a configuration modification unit 1016. This embodiment differs from the embodiment described in fig. 8 in that: a modification setting unit 1015, a configuration modification unit 1016 are added. The other elements are described with particular reference to the embodiment of fig. 8.
And a modification setting unit 1015, configured to, if receiving a resource configuration modification request applied to the container, invoke a resource setting interface through the resource configuration modification request to receive resource parameter information to be modified, which is set through the resource setting interface.
The configuration modification unit 1016 uploads the set resource parameter information to be modified to the container arrangement tool, so as to update the resource configuration of the container application with the container arrangement tool according to the set resource parameter information to be modified.
In an embodiment, the host machine 103 is further configured to return the result of the resource configuration update to the container arrangement tool, and the receiving unit of the container arrangement tool 102 is further configured to receive the result of the resource configuration update returned by the host machine. The pushing unit 1022 of the container arrangement tool is further configured to send the received resource configuration update result returned by the host to the server. And the receiving unit of the server is also used for receiving the resource configuration updating result returned by the container arrangement tool.
It should be noted that, as those skilled in the art can clearly understand the specific implementation process of the foregoing apparatus and each unit, reference may be made to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-described apparatus may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 11.
FIG. 11 is a schematic block diagram of a computer system according to an embodiment of the present application. The computer system comprises at least three computer devices including a server (e.g., a server in the PaaS platform), a physical machine on which the container orchestration tool resides, and at least one host. Each computer device 100 includes a processor 102, a memory, which may include a non-volatile storage medium 104 and an internal memory 105, and a network interface 103 connected by a system bus 101.
The non-volatile storage medium 104 may store an operating system 1041 and computer programs 1042. The resource allocation method of the container application described above may be implemented jointly when the corresponding computer program 1042 stored in the non-volatile storage medium is executed by the processors 102 in at least three computer devices. The processor 102 is used to provide computing and control capabilities to support the operation of the overall computer system. The internal memory 105 provides an environment for the execution of computer programs in the non-volatile storage medium, which when executed by the processors 102 in the at least three computer devices, cause the processors 102 in the at least three computer devices to collectively perform the resource allocation method of the container application described above. The network interface 103 is used for network communication. It will be appreciated by persons skilled in the art that the structures shown in the drawings are block diagrams of only some of the structures associated with the aspects of the application and do not constitute a limitation on the apparatus to which the aspects of the application may be applied, and that a particular apparatus may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
Wherein the processor 102 is configured to execute a computer program stored in a memory to implement any of the embodiments of the resource allocation method of the container application described above.
It should be appreciated that in embodiments of the present application, the processor 102 may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (application lication Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium, which may be a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium including a non-volatile computer-readable storage medium. The storage medium stores a computer program which, when executed by a processor, implements any of the embodiments of the resource allocation method of the container application described above.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and the division of the units is merely a logical function division, and other divisions may be implemented in practice. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (6)

1. A method of resource allocation for a container application, the method comprising:
if a resource allocation request of the container application is received, acquiring application mirror image information of the container application;
acquiring pre-configured resource parameter information corresponding to application mirror image information from a database according to the application mirror image information of the container application;
packaging the pre-configured resource parameter information to form an object;
uploading the object to a container arrangement tool through a preset interface so as to configure the resources of the container application by using the container arrangement tool according to the resource parameter information in the object;
if the resource parameter information in the object includes resource parameter information corresponding to a CPU, a memory, and a DNS server, the configuring, according to the resource parameter information in the object, the resource of the container application by using the container arrangement tool includes:
converting the resource parameter information corresponding to the CPU, the memory and the DNS server into an executable container instruction through a container arrangement tool, and taking the container instruction as a basic configuration container instruction;
pushing the basic configuration container instruction to a host computer where a container instance of the container application is located through a container orchestration tool;
If the container instance of the container application on the host is detected to be started, executing the basic configuration container instruction to perform resource configuration of the CPU, the memory and the DNS server;
if the resource parameter information in the object includes a protocol for monitoring the probe container instance and path information for monitoring the probe container instance, the configuring the resource of the container application by using the container arrangement tool according to the resource parameter information in the object includes:
the protocol of the monitoring detection container instance and the path information of the monitoring detection container instance are stored through a container arrangement tool;
configuring monitoring detection resources of the container application according to the saved protocol of the monitoring detection container instance and path information of the monitoring detection container instance so as to detect whether the container instance of the container application is available according to the configured monitoring detection resources of the container application;
if the resource parameter information in the object includes container performance monitoring information, the configuring the resource of the container application by using the container arrangement tool according to the resource parameter information in the object includes:
converting the container performance monitoring information into executable container instructions through a container arrangement tool, and taking the container instructions as performance monitoring container instructions;
Pushing the performance monitoring container instruction to a host computer where a container instance of the container application is located through a container orchestration tool;
the host configures performance monitoring resources of the container instance according to the performance monitoring container instruction, and collects operation data information of the container instance according to the configured performance monitoring resources of the container instance;
if the resource parameter information in the object includes the mount volume information of the container application, the mount volume information of the container application includes an application catalog of the container application, and the configuring the resource of the container application by using the container arranging tool according to the resource parameter information in the object includes:
converting the information of the mounted volume of the container application into an executable container instruction through a container arrangement tool, and taking the container instruction as a mounted volume configuration container instruction;
pushing the mounting volume configuration container instruction to a host machine where a container instance of the container application is located;
and if the container instance of the container application on the host is detected to be started, executing the instruction for configuring the container by the mounting volume so as to realize the resource configuration of the mounting volume of the container application.
2. The method according to claim 1, wherein the method further comprises:
if a resource configuration modification request applied to the container is received, calling a resource setting interface through the resource configuration modification request so as to receive resource parameter information to be modified, which is set through the resource setting interface;
and uploading the set resource parameter information to be modified to a container arrangement tool so as to update the resource configuration of the container application by using the container arrangement tool according to the set resource parameter information to be modified.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and receiving a resource configuration result returned by the container arrangement tool.
4. A configuration modification system for a container application, the configuration modification system for a container application comprising a server, a container orchestration tool, and at least one host, the server comprising:
the mirror image acquisition unit is used for acquiring application mirror image information of the container application if a resource allocation request of the container application is received;
the device comprises a preset resource acquisition unit, a storage unit and a storage unit, wherein the preset resource acquisition unit is used for acquiring preset resource parameter information corresponding to application mirror information from a database according to the application mirror information of a container application;
The packaging unit is used for packaging the pre-configured resource parameter information to form an object;
an uploading unit, configured to upload the object to a container arrangement tool through a preset interface, so as to configure resources of the container application by using the container arrangement tool according to the resource parameter information in the object;
the container arrangement tool is used for configuring the resources of the container application according to the resource parameter information in the object;
the container arranging tool comprises a conversion unit and a pushing unit;
if the resource parameter information in the object comprises the resource parameter information corresponding to the CPU, the memory and the DNS server, the conversion unit is used for converting the resource parameter information corresponding to the CPU, the memory and the DNS server into an executable container instruction, and taking the container instruction as a basic configuration container instruction; the pushing unit is used for pushing the basic configuration container instruction to a host machine where the container instance of the container application is located; the host is used for receiving a basic configuration container instruction, and executing the basic configuration container instruction to perform resource configuration of a CPU, a memory and a DNS server if the container instance of the container application on the host is detected to be started;
If the resource parameter information in the object comprises a protocol for monitoring the detection container instance and path information for monitoring the detection container instance, the container arranging tool further comprises a storage unit and a configuration unit; the storage unit is used for storing the protocol of the monitoring detection container instance and the path information of the monitoring detection container instance through the container arrangement tool; a configuration unit, configured to configure a monitoring probe resource of the container application according to the saved protocol of the monitoring probe container instance and path information of the monitoring probe container instance, so as to detect whether the container instance of the container application is available according to the configured monitoring probe resource of the container application;
if the resource parameter information in the object comprises container performance monitoring information, the conversion unit is used for converting the container performance monitoring information into an executable container instruction, and taking the container instruction as a performance monitoring container instruction; the pushing unit is used for pushing the performance monitoring container instruction to a host machine where the container instance of the container application is located; the host is used for receiving a performance monitoring container instruction, configuring the performance monitoring resources of the container instance according to the performance monitoring container instruction, and collecting the operation data information of the container instance according to the configured performance monitoring resources of the container instance;
If the resource parameter information in the object includes the mount volume information of the container application, the mount volume information of the container application includes an application catalog of the container application, and the conversion unit is configured to convert the mount volume information of the container application into an executable container instruction, and use the container instruction as a mount volume configuration container instruction; the pushing unit is used for pushing the mounting volume configuration container instruction to a host machine where the container instance of the container application is located; the host is used for receiving a container allocation instruction of the mounting volume, and executing the container allocation instruction of the mounting volume if the container instance of the container application is detected to be started, so as to realize the resource allocation of the mounting volume of the container application.
5. A computer system comprising at least three computer devices, each comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processors of the at least three computer devices together implementing the method of any one of claims 1 to 2 when executing the respective computer programs.
6. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-2.
CN201910411108.2A 2019-05-17 2019-05-17 Resource allocation method, system and storage medium for container application Active CN110275775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910411108.2A CN110275775B (en) 2019-05-17 2019-05-17 Resource allocation method, system and storage medium for container application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910411108.2A CN110275775B (en) 2019-05-17 2019-05-17 Resource allocation method, system and storage medium for container application

Publications (2)

Publication Number Publication Date
CN110275775A CN110275775A (en) 2019-09-24
CN110275775B true CN110275775B (en) 2023-09-01

Family

ID=67959921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910411108.2A Active CN110275775B (en) 2019-05-17 2019-05-17 Resource allocation method, system and storage medium for container application

Country Status (1)

Country Link
CN (1) CN110275775B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324421B (en) * 2020-02-18 2023-04-07 支付宝(杭州)信息技术有限公司 Container mirror image providing method, loading method, related equipment and system
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN111309380A (en) * 2020-03-12 2020-06-19 北京讯鸟软件有限公司 Service instance configuration method, device and system
CN111679887A (en) * 2020-06-04 2020-09-18 深圳前海微众银行股份有限公司 Configuration method and device of proxy container
CN111666189B (en) * 2020-06-12 2023-03-31 中信银行股份有限公司 Method and system for declaratively visually configuring Prometheus monitoring alarm
CN112637365B (en) * 2021-01-06 2023-01-31 Oppo广东移动通信有限公司 Terminal resource issuing and acquiring method and device and electronic equipment
CN113485788B (en) * 2021-06-30 2023-08-29 中国民航信息网络股份有限公司 Container resource allocation method and device, server and computer storage medium
CN113568708B (en) * 2021-07-29 2022-10-04 马上消费金融股份有限公司 Platform creation method, device and equipment
CN113741961B (en) * 2021-11-08 2022-02-01 梯度云科技(北京)有限公司 Method and device for submitting big data calculation operation based on Kubernetes container arrangement software
CN117992115B (en) * 2024-04-02 2024-08-13 建信金融科技有限责任公司 System configuration processing method, device, equipment, medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970822A (en) * 2017-02-20 2017-07-21 阿里巴巴集团控股有限公司 A kind of container creation method and device
CN108039963A (en) * 2017-12-05 2018-05-15 腾讯科技(深圳)有限公司 A kind of container collocation method, device and storage medium
CN108255497A (en) * 2018-01-12 2018-07-06 新华三大数据技术有限公司 The dispositions method and device of a kind of application
CN108763090A (en) * 2018-05-31 2018-11-06 上海陆家嘴国际金融资产交易市场股份有限公司 Test environment dispositions method, device, computer equipment and storage medium
CN109582441A (en) * 2018-11-30 2019-04-05 北京百度网讯科技有限公司 For providing system, the method and apparatus of container service
CN109639818A (en) * 2018-12-27 2019-04-16 北京城市网邻信息技术有限公司 Service discovery method, device, server and storage medium under a kind of cloud environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8966025B2 (en) * 2013-01-22 2015-02-24 Amazon Technologies, Inc. Instance configuration on remote platforms
US10963349B2 (en) * 2017-08-25 2021-03-30 Vmware, Inc. Containerized application snapshots

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970822A (en) * 2017-02-20 2017-07-21 阿里巴巴集团控股有限公司 A kind of container creation method and device
CN108039963A (en) * 2017-12-05 2018-05-15 腾讯科技(深圳)有限公司 A kind of container collocation method, device and storage medium
CN108255497A (en) * 2018-01-12 2018-07-06 新华三大数据技术有限公司 The dispositions method and device of a kind of application
CN108763090A (en) * 2018-05-31 2018-11-06 上海陆家嘴国际金融资产交易市场股份有限公司 Test environment dispositions method, device, computer equipment and storage medium
CN109582441A (en) * 2018-11-30 2019-04-05 北京百度网讯科技有限公司 For providing system, the method and apparatus of container service
CN109639818A (en) * 2018-12-27 2019-04-16 北京城市网邻信息技术有限公司 Service discovery method, device, server and storage medium under a kind of cloud environment

Also Published As

Publication number Publication date
CN110275775A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN110275775B (en) Resource allocation method, system and storage medium for container application
CN112119374B (en) Selectively providing mutual transport layer security using alternate server names
US11016749B1 (en) Architecture for incremental deployment
JP6530462B2 (en) Determining and monitoring the performance capabilities of computer resource services
US11188385B2 (en) Batching asynchronous web requests
US9547670B2 (en) System and method for a self service portal and automation for internally hosted virtual server resources
US10601680B2 (en) Application resiliency using APIs
US9584372B2 (en) Discovering resources of a distributed computing environment
US10594781B2 (en) Dynamic healthchecking load balancing gateway
US9229740B1 (en) Cache-assisted upload proxy
US8984162B1 (en) Optimizing performance for routing operations
CN112860479A (en) Data storage method and cloud data center
US10055393B2 (en) Distributed version control of orchestration templates
CN107172214B (en) Service node discovery method and device with load balancing function
CN108111496B (en) Method, device and system for exposing http service for dubbo distributed application
CN116368786A (en) Processing deferrable network requests
US9298487B2 (en) Managing virtual machine images in a distributed computing environment
CN114356456B (en) Service processing method, device, storage medium and electronic equipment
US20230409568A1 (en) Monitoring metadata synchronization and aggregation
US20240273059A1 (en) Handling compressed critical files
EP3821336B1 (en) Feature installer for software programs
KR20220116037A (en) Extended 3rd Generation Partnership Project (3GPP) Framework for Live Uplink Streaming (FLUS) Sync Capability Technology

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