CN110333877A - Visualized container configuring management method, apparatus and system based on application - Google Patents

Visualized container configuring management method, apparatus and system based on application Download PDF

Info

Publication number
CN110333877A
CN110333877A CN201910618664.7A CN201910618664A CN110333877A CN 110333877 A CN110333877 A CN 110333877A CN 201910618664 A CN201910618664 A CN 201910618664A CN 110333877 A CN110333877 A CN 110333877A
Authority
CN
China
Prior art keywords
application
configuration
mirror image
container
name
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
Application number
CN201910618664.7A
Other languages
Chinese (zh)
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.)
Xi'an Notice Network Technology Co Ltd
Original Assignee
Xi'an Notice Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Notice Network Technology Co Ltd filed Critical Xi'an Notice Network Technology Co Ltd
Priority to CN201910618664.7A priority Critical patent/CN110333877A/en
Publication of CN110333877A publication Critical patent/CN110333877A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

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

Abstract

This disclosure provides a kind of visualized container configuring management method, device, system and computer-readable medium based on application.Essential information is applied this method comprises: obtaining;The corresponding mirror image address of application is obtained according to application essential information and applies corresponding deployment resource;And container configuration is realized according to the corresponding mirror image address of application and the corresponding deployment resource of application.According to the disclosure, the internal logic that user is not necessarily to understand container configuration can realize that container configures, and reduce the difficulty of container configuration.

Description

Visualized container configuring management method, apparatus and system based on application
Technical field
This disclosure relates to field of software engineering, more particularly, to a kind of visualized container configuration management based on application Method, apparatus, system and computer-readable medium.
Background technique
Compared with conventional deployment mode, band is disposed with the containerization that Docker, Kubernetes (also referred to as k8s) is representative Carry out many advantages: realizing unified program execution environments, the starting speed of Millisecond, the High Availabitity for ensureing application, O&M height Automation etc..By container technique, delivery efficiency, O&M efficiency, resource utilization can be substantially improved.For example, Kubernetes can distribute container resource automatically, therefore resource utilization can be improved.
However, Kubernetes is suitble to experienced Container Management person to use, existing PaaS system is pair The simplified package of Kubernetes API, reduce Kubernetes uses threshold, but user still needs pair The concept of Kubernetes is understood, and needs to carry out containerization deployment using order line or configuration file, is used It is more inconvenient.
Summary of the invention
In view of this, the visualized container configuring management method that this disclosure provides a kind of based on application, device, being System and computer-readable medium reduce the difficulty of container configuration by visual means.
According to present disclosure in a first aspect, present disclose provides a kind of visualized container configuration management based on application Method, comprising:
It obtains and applies essential information;
The corresponding mirror image address of application is obtained according to application essential information and applies corresponding deployment resource;And
Container configuration is realized according to the corresponding mirror image address of application and the corresponding deployment resource of application.
According to the second aspect of present disclosure, the visualized container configuration management based on application that present disclose provides a kind of Device, comprising:
Module is obtained using essential information, is configurable for obtaining using essential information;
Configuration information obtain module, be configurable for according to application essential information obtain application corresponding mirror image address with And apply corresponding deployment resource;And
Configuration module is configurable for being realized according to the corresponding mirror image address of application and the corresponding deployment resource of application Container configuration.
According to the third aspect of present disclosure, the visualized container configuration management based on application that present disclose provides a kind of System, including PaaS system, PaaS system include:
Application management module, for managing and/or configuring using essential information;
Resource management module is disposed, for according to application basic information management and/or configuration deployment resource;And
Mirror image storehouse management module, for according to using basic information management and/or configuration mirroring address.
According to the fourth aspect of present disclosure, present disclose provides a kind of computer-readable medium, being stored thereon with can It executes instruction, the executable instruction makes processor execute the method as described in above-mentioned first aspect when being executed by processor.
This disclosure provides a kind of visualized container configuring management method, device, system and calculating based on application Machine readable medium is obtained by visualization interface and applies essential information, is obtained further according to application essential information and is applied corresponding mirror As address and corresponding deployment resource is applied, realizes and holds according to the corresponding mirror image address of application and the corresponding deployment resource of application Device configuration reduces the difficulty of container configuration so that the internal logic that user is not necessarily to understand container configuration can realize that container configures Degree.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, 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 Disclosed embodiment 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 the structure of visualized container configuration management system of one of the disclosure specific embodiment based on application Figure;
Fig. 2 is the process of visualized container configuring management method of one of the disclosure specific embodiment based on application Figure;
Visualization interface example when Fig. 3 is the new cluster of realization and the access of mirror image warehouse in disclosure specific embodiment Figure;
Fig. 4 is the visualization interface exemplary diagram of the addition environment in disclosure specific embodiment;
Fig. 5 is the visualization interface exemplary diagram of environment configurations assembly line under the line in disclosure specific embodiment;
Fig. 6 be disclosure specific embodiment in line on environment configurations assembly line visualization interface exemplary diagram;
Fig. 7 A and Fig. 7 B are the visualization interface exemplary diagram of the dispensing containers deployment in disclosure specific embodiment;
Fig. 8 is the visualization interface exemplary diagram of the configuration service in disclosure specific embodiment;
Fig. 9 is the visualization interface exemplary diagram of the automatic scalable appearance of configuration in disclosure specific embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of disclosure protection.
Compared with conventional deployment mode, band is disposed with the containerization that Docker, Kubernetes (also referred to as k8s) is representative Carry out many advantages: realizing unified program execution environments, the starting speed of Millisecond, the High Availabitity for ensureing application, O&M height Automation etc..By container technique, delivery efficiency, O&M efficiency, resource utilization can be substantially improved.For example, Kubernetes Container resource can be distributed automatically, therefore resource utilization can be improved.However, Kubernetes is suitble to experienced container tube Reason person uses, and existing PaaS system is the simplified package to Kubernetes API, and reduce Kubernetes uses door Sill, but user still needs to understand the concept of Kubernetes, and need using order line or configuration file into The deployment of row containerization.
Wherein, Docker is engine when a kind of container is run, and is a kind of for generating the work of container according to container mirror image Tool.Docker is also a kind of linux container tool set, is for " (Ship) and operation (Run) are delivered in building (Build) " distribution Formula application and design.Docker is equivalent to application and has completely broken into a packet using relied on environment, This packet takes where primary can run.Therefore it can guarantee the consistency of environment in exploitation, test, O&M.Docker Essence: Docker=LXC (Namespace+CGroups)+Docker Images, wherein LXC indicate linux container (Linux Container), Namespace indicate resource isolation, and CGroups indicates that resources control, Docker Images indicate Docker mirror image, i.e., on the basis of the resource isolation of linux kernel and resources control technology by mirror image administrative mechanism come real Existing light-weight design.Docker mirror image is a read-only template, mirror image can be understood as a mould (mold), by mould The finished product (container) of (mirror image) production is the same (unless adding additional parameter when generating), and modification finished product (container) itself is simultaneously (unless finished product is submitted into a mould) will not be had an impact to mould (mirror image), when container is rebuild, i.e., by mould (mirror image) A finished product (container) is remake into, the finished product and indistinction being fabricated to other by the mould.
Kubernetes is that a kind of container dispatches arranging system, i.e., a kind of system of dispensing containers resource.Kubernetes It is container cluster management system.It construct Docker technology on, for containerization application provide scheduling of resource, deployment run, Whole a set of function such as service discovery, dilatation capacity reducing, is substantially considered as the Micro-PaaS platform based on container technique, i.e., and The representative items of three generations PaaS.
Image indicates that container mirror image, container mirror image are the file and data system of container, and mirror image becomes one after behaving A container (container).
Most of container PaaS system exists following insufficient:
1, the generally existing system complex of container PaaS system, using the high problem of threshold, being not appropriate for common developer makes With.Firstly, Kubernetes belongs to complication system, user need to understand that more concept could use, and threshold is higher, Order line and application programming interfaces (Application Programming Interface, the letter that Kubernetes itself is provided Referred to as API), it is full-featured but complex, it is only suitable for the deep Container Management person for understanding Kubernetes and uses.Secondly, base It is the simple packaging to Kubernetes API in the container PaaS system of Kubernetes exploitation, remains that user's depth Enter to understand the principle of Kubernetes, is actually also suitable only for Container Management person's use, is not appropriate for other than Container Management person Developer uses.
2, resource management is more chaotic, can not provide a simple view to ordinary user.It is stateless with deployment one For, user need to handle Deployment resource, Service resource, HPA resource, Pod resource, mirror image resources, and each Relationship between a resource, but the processing of these resources is carried out manually by configuration file.These resources are intricate, match Slightly mistake is set, will lead to deployment failure.
Wherein, Pod indicates container group, and Pod is the minimum unit of Kubernetes scheduling.It may include one in one Pod A or multiple containers, the container in the same Pod are always dispatched on same machine, and share a cluster IP.One Pod It is the most common situation comprising a container.User generally will not directly create Pod, but pass through creation Deployment/ Statefulset/Daemonset/Job/Cronjob, then the creation by k8s control Pod.Pod is several associated vessels Combination, is a logical concept, and the container that Pod includes operates on the same host, these containers use identical network NameSpace, IP address and port can be found and be communicated by local host (localhost) between each other, share one piece Store volume space.It is created in Kubernetes, scheduling and the minimum unit managed are Pod.One Pod generally only puts an industry Business container and a web container for Unified Network management.
Deployment indicates stateless application.The characteristics of stateless application is to apply not storage state information itself, is answered The identity of each example is completely equivalent.
Statefulset indicates stateful application.The characteristics of stateful application is that each container instance of application has uniquely Stable identity, including network identity or storage.Stateful application is commonly used in deployment collection realm application, such as needs steady Determine the Eureka cluster of network identity.Each application is different in stateful application, and the storage content of each application is also Different, and statelessly application can be replaced, no self identification.
Daemonset is to guard class application.The characteristics of guarding class application is to apply respectively to run on a collection of machine in cluster One example.Commonly used in the agent of the deployment of agent class method, such as monitoring programme.One can only be run on one machine Class application is guarded, is acquired for realizing data monitoring and data.
Job is task class application.The characteristics of task class is applied be task class application be it is disposable, task, task are held in short-term After row, container is exited, i.e., task class is applied after being finished, container auto-destruct.
Cronjob is the application of timed task class.Timed task class application is the task that timing executes.When system time meets When specified Cron temporal expression, system arouses timed task;After timing generic task is finished, container is exited.Wherein, Cron temporal expression is user's customized task start time.
Service indicates k8s service.It is a kind of reversed generation that container provides that Service, which can be understood as Kubernetes, Reason and load-balancing mechanism.Multiple examples (Pod) of same application (APP) externally unify offer service using Service.It is right The request of Service handles the Pod for being distributed to its representative.Service is the abstract of true application service, is defined The logical collection of Pod and the strategy for accessing this Pod logical collection, Service will act on behalf of Pod and externally show as a single visit Ask interface, outside is not required to it is to be understood that how rear end Pod runs, this brings very big benefit to extension or maintenance, provides a set of Simplified service broker and discovery mechanism.Wherein, reverse proxy refers to the agency of server, and personal agent is positive supply.
HPA (Horizontal Pod Autoscaling) indicate Pod laterally automatic scalable appearance namely container laterally from Move scalable appearance configuration.User creates HPA with postponing, and k8s will be according to the performance indicator of application (CPU, memory or other customized fingers Mark), the Pod instance number of application is increased or decreased automatically.Automatic scalable appearance determines automatic scalable appearance by average resource consumption Threshold value judges whether current container resource consumption reaches the threshold value by the container resource consumption of timing acquiring, to carry out The scalable appearance of container.
Therefore, how to facilitate the clear association managed between various resources and various resources, and mentioned to ordinary user For a simple and reliable view, have become a urgent problem needed to be solved.
So being proposed a kind of using visualization interface as core in the specific embodiment of the disclosure based on above-mentioned deficiency Container schemes for configuration and management, user can carry out the filling of container configuration parameter by visualization interface, so that user can To ignore the internal operation of Kubernetes, resource management also may be implemented in the case where not understanding Kubernetes concept, To reduce the use threshold of Kubernetes.
In one embodiment of present disclosure, as shown in Figure 1, what this disclosure provides a kind of based on application can Depending on changing container configuration management system, including PaaS system 1, wherein PaaS system 1 may include:
Application management module 11, for managing and/or configuring using essential information;
Resource management module 12 is disposed, for according to application basic information management and/or configuration deployment resource;And
Mirror image storehouse management module 13, for according to using basic information management and/or configuration mirroring address.
In the specific embodiment of present disclosure, the visualized container configuration management system based on application can also include Configuration database 2, container cluster 3, mirror image warehouse 4.
It wherein, may include using disposed k8s cluster, using the k8s disposed using essential information Namespace, application type, the warehouse the Gitlab address of application, compilation script the warehouse Gitlab relative path, Dockerfile the warehouse Gitlab relative path, whether use existing mirror image, the URI of the existing mirror image used.
Namespaces provides a kind of resource isolation scheme.Resource under each Namespace is for other Namespace Under resource be all sightless.
Dockerfile is for constructing Docker mirror image.
Disposing resource management module 12 may include Deployment module, Statefulset module, Daemonset mould Block, Cronjob module, Service module, Pod module.
Wherein, Deployment module may be used to provide configuration, the management to statelessly applying, by user to stateless The configuration change of application is synchronized in configuration database 2, and according to the configuration of user to Kubernetes Deployment resource It is operated.
Statefulset module may be used to provide the configuration to stateful application, management, by user to stateful application Configuration change be synchronized in configuration database 2, and according to the configuration of user to KubernetesStatefulset resource carry out Operation.
Daemonset module may be used to provide to guard class application configuration, management, by user to guard class application Configuration change is synchronized in configuration database 2, and is grasped according to the configuration of user to KubernetesDaemonset resource Make.
Cronjob module may be used to provide the configuration to the application of timed task class, management, by user to timed task class The configuration change of application is synchronized in configuration database 2, and is carried out according to the configuration of user to KubernetesCronjob resource Operation.
Job module may be used to provide the configuration to task class application, management, and the configuration that user applies task class is changed It is dynamic to be synchronized in configuration database 2, and Kubernetes Job resource is operated according to the configuration of user.
Service module may be used to provide the configuration to k8s Service, management, the configuration by user to Service Change is synchronized in configuration database 2, and is operated according to the configuration of user to KubernetesService resource.
Pod module may be used to provide the management to k8s Pod, be responsible for providing the operation to KubernetesPod resource Interface.In the specific embodiment of the disclosure, do not need to configure Pod, it is only necessary to Pod is inquired, deletes API etc. Management operation.
HPA module may be used to provide the configuration to k8s HPA, management, and user is synchronized to the configuration change of HPA and matches It sets in database 2, and Kubernetes HPA resource is operated according to the configuration of user.
Mirror image storehouse management module 13 can be also used for the configuration management of 4 relevant information of mirror image warehouse, and dock a plurality of mirrors As warehouse 4 (for example, Docker Registry, Harbor, the mirroring service of Ali's cloud container), the operation to Mirror Info is provided Interface.
In the specific embodiment of the disclosure, configuration database 2 can be used for storage configuration information, and what is stored matches confidence Breath may include matching using basic configuration, Deployment configuration, Statefulset configuration, Daemonset configuration, Cronjob It sets, Job configuration, Service configuration, Pod configuration, the configuration of mirror image warehouse, HPA configuration.
Container cluster 3 can be Kubernetes container cluster.
Mirror image warehouse 4 is used for storage container mirror image data.In practice, there are Docker Registry, Harbor, Ali A variety of container mirror image repository services such as cloud container mirroring service.Logically, multiple projects can be divided under a mirror image warehouse 4 (Project), it can be divided multiple repositories (Repository) again under each mirror image repository entry, a repository can store Multiple mirror image labels (Tag).For example, container mirror image URI " 172.30.10.195:15000/paas/nginx:v1.7.9 ", In " 172.30.10.195:15000 " be mirror image repository service URI, and " paas " is project, and " nginx " is specifically to store Library, " v1.7.9 " are the labels of mirror image.Wherein, the maximum quantity for the container that can be run on a machine is depositing according to machine Store up what space determined.
In a specific embodiment of the disclosure, as shown in Fig. 2, the disclosure additionally provide it is a kind of based on the visual of application Change container configuring management method, may include:
S1, it obtains and applies essential information;
S2, the corresponding mirror image address of application is obtained according to application essential information and applies corresponding deployment resource;And
S3, container configuration is realized according to the corresponding mirror image address of application and the corresponding deployment resource of application.
Before obtaining using essential information, can also include:
The software disposed as needed decides whether to create new application, if completing the creation of the software application before And configuration, then it can directly obtain using essential information, if not completing the creation and configuration of the software application before, The corresponding new application of the software can be created and be configured, then is obtained using essential information.
It can be obtained by the essential information of the received input of application using essential information.
Using may include visualization interface, it can be inputted by the visualization interface and applying essential information.
It may include application name, using place entry name using essential information in the specific embodiment of the disclosure.
It is then obtained according to application essential information and may include: using corresponding mirror image address
Mirror image warehouse, which is obtained, according to application name stores library name;
Mirror image repository entry name is obtained according to entry name where application;
Cluster information where obtaining application according to application name, with obtaining mirror image repository service according to cluster information where application Location;And
It obtains according to mirror image repository service address, mirror image repository entry name, mirror image warehouse storage library name and applies corresponding mirror As address.
I.e. application can establish incidence relation by the application name of application, using place entry name and mirror image.
It is associated using with mirror image, is as follows in order to solve the problems, such as: for specifically applying, how determined using correspondence The address mirror image warehouse repository (Repository), so as in deployment configuration (Deployment/Statefulset/ Daemonset/Job/Cronjob the correct mirror image address of configuration in).
Since mirror image warehouse 4 and container cluster 3 correspond, and mirror image address consists of three parts: mirror image repository service Address, mirror image repository entry name, mirror image warehouse store library name, therefore, the problem of being associated for application with mirror image, can adopt It is solved with such as under type:
Firstly, first determining application name, mirror image warehouse repository automatically determines mirror image warehouse storage library name further according to application name, I.e. application name is consistent with mirror image warehouse storage library name, and mirror image warehouse stores library name, that is, application name;Secondly, where determining application Entry name, mirror image repository entry name is determined further according to entry name where application, using place entry name and corresponding mirror image warehouse item Mesh name is consistent, entry name where mirror image repository entry name is applied;Again, since cluster where application and mirror image warehouse are believed Breath is associated with one by one, so as to be related to query application place cluster information according to application name, and then is believed according to cluster where application Breath inquires mirror image repository service address.
For example, some applies entitled aiops-controller, using the entitled aiops of place project, using place cluster Information is cluster-sg, is according to the mirror image repository service address that cluster information cluster-sg where application is obtained 172.30.185:15000/ then according to above-mentioned rule it is found that mirror image warehouse storage library name is aiops-controller, mirror As repository entry name is aiops;It in addition is 172.30.185:15000/ with the mirror image repository service address of association, it is comprehensive These information, can obtain using corresponding mirror image address is 172.30.185:15000/aiops/aiops-controller.
It is one by one associated with by the above-mentioned means, can establish using with mirror image address.
It can also include application type, using NameSpace name using essential information in the specific embodiment of the disclosure.
It is then obtained according to application essential information and may include: using corresponding deployment resource
Deployment resource class is obtained according to application type;
The corresponding NameSpace of deployment resource is obtained according to application NameSpace name;
Deployment resource name is obtained according to application name;And
It obtains according to deployment resource class, the corresponding NameSpace of deployment resource, deployment resource name and applies corresponding deployment Resource.
I.e. application can establish incidence relation by application name, application type, using NameSpace name and deployment resource.Its In, deployment resource can refer to the resource in Kubernetes cluster, deployment resource may include Deployment resource, One or more of Statefulset resource, Daemonset resource, Cronjob resource, Job resource.
In the specific embodiment of the disclosure, it can establish in the following way using being associated between deployment resource System:
Firstly, according to application type determine deployment resource class, deployment resource class can for Deployment resource, Statefulset resource, Daemonset resource, Cronjob resource, one in Job resource;Secondly, determining that application name is empty Between name, determine the corresponding NameSpace of deployment resource further according to application NameSpace name, i.e., provided using NameSpace name and deployment Kubernetes NameSpace where source is consistent;Again, it determines application name, determines deployment resource further according to application name Name, i.e. application name and the name of Kubernetes deployment resource are consistent.
For example, some applies entitled aiops-controller, it is aiops-ali-bj using NameSpace name, using class Type is 0 (0 can indicate Deployment), then corresponding deployment resource is exactly NameSpace in Kubernetes cluster The Deployment resource of entitled aiops-controller in aiops-ali-bj.
By the above-mentioned means, will can be associated with one by one using with deployment resource.
In the specific embodiment of the disclosure, application type may include stateless application, stateful application, guard class and answer With one of the application of, task class, the application of timed task class or a variety of.
Stateless application is the most common type.Stateless application does not need stable external storage, does not need stable Network identifier, common front end applications, backend application are usually all statelessly to apply.
In the specific embodiment of the disclosure, the visualized container configuring management method based on application can also include basis The configuration to the scalable appearance of container is determined using essential information.
The software that can according to need deployment determines whether the software needs HPA function.If the software has laterally automatic expand The demand of capacity reducing can then open HPA function, if the software is not necessarily to open HPA function without the demand of laterally automatic scalable appearance Energy.For example, the flowed fluctuation size that can according to need the software of deployment determines whether the software has lateral automatic scalable appearance Demand.
Parameter to the configuration of the scalable appearance of container may include most instance numbers, minimum instance number, scalable appearance index etc., In, scalable index of holding refers to the threshold value of resource consumption, when above or below a certain index, can carry out corresponding dilatation or Capacity reducing.
In the specific embodiment of the disclosure, using the incidence relation between HPA can by the application name of application, answer It is realized with NameSpace name, it specifically can be in the following way:
NameSpace name is applied firstly, determining, determines HPA resource place NameSpace name according to using NameSpace name, It is consistent using NameSpace name with the NameSpace name where Kubernetes HPA resource;Secondly, determine application name, HPA are determined according to application name, i.e. the corresponding HPA name of application name is consistent.
It is associated with one by one by the above-mentioned means, can will apply with Kubernetes HPA.
In the specific embodiment of the disclosure, the visualized container configuring management method based on application can also include basis The configuration to service is determined using essential information.
The software that can according to need deployment determines whether the software needs Service function.If the software is needed to it The open port TCP/UDP of his software, then can open Service function, if the software does not need to open TCP/ to other software Udp port can then be not turned on Service function.Wherein it is possible to by determining whether the software needs to carry out with other software Communication, to determine whether the software needs to open the port TCP/UDP to other software.
Parameter to the configuration of service may include the port Service, container object port, external IP etc..Wherein, The port Service refers to external software and the port for needing to communicate between the container disposed and Kubernetes reversed generation The port of reason, container object port refer to On-premise resource and the port that needs to communicate between the container disposed, external IP The IP address of cluster communication where referring to outside need and deployment container.
In the specific embodiment of the disclosure, application name, application can be passed through using the incidence relation between Service The realization of NameSpace name, specifically can be in the following way:
NameSpace name is applied firstly, determining, determines KubernetesService resource institute according to using NameSpace name In NameSpace name, i.e., it is consistent using NameSpace name and NameSpace name where KubernetesService resource;Its It is secondary, it determines application name, determines Service according to application name, i.e. the corresponding Service name of application name is consistent.
It is associated with one by one by the above-mentioned means, can will apply with KubernetesService.
In the specific embodiment of the disclosure, the visualized container configuring management method based on application can also include basis The configuration to container group is realized using essential information.
In the specific embodiment of the disclosure, using the incidence relation between container group Pod can by application name, answer It is realized with NameSpace name, it specifically can be in the following way:
NameSpace name is applied firstly, determining, according to life where determining KubernetesPod resource using NameSpace name Name space name is consistent using NameSpace name and NameSpace name where KubernetesService resource;Secondly, Determine application name, automatically uniformly to stamp a label (label) using corresponding Pod, the content of label can be " app: application name ".
For example, the application for the entitled aiops-controller of application, it can be automatically for this using corresponding Pod adds label " app:aiops-controller ".
Wherein, an application may correspond to multiple Pod, the title of this multiple Pod is different, but label is identical.
It is associated by the above-mentioned means, can will apply with KubernetesPod.
Using essential information can also include application the warehouse Gitlab address, compilation script it is opposite the warehouse Gitlab Path, Dockerfile in the relative path in the warehouse Gitlab, whether using existing mirror image, if answered using existing mirror image It further include the URI of existing mirror image with essential information.
For different applications, there are something in common for the configuration for needing to complete, and there is also difference, system can basis The application type of application provides different configuration interfaces for user configuration, for example, all types of applications are required to configuration CPU And/or memory configurations, and stateful application also needs to configure volumeClaimTemplates, volumeClaimTemplates Including storage resource, storage resource includes the parameters such as required memory space, storage medium.
Wherein, an application can be pertaining only to a kind of application type.
The creation or change of deployment resource can be completed by the above-mentioned visualized container configuring management method based on application More.
In the specific embodiment of the disclosure, the visualized container configuring management method based on application can also include to collection The configuration and/or configuration to mirror image warehouse 4 of group.
For example, as shown in figure 3, when realizing that new cluster and mirror image warehouse 4 access on the visualization interface of application, Ke Yipei Set following parameter:
In the specific embodiment of the disclosure, can be with the access of the containerization for the container configuration management statelessly applied Example, then a kind of visualized container configuring management method based on application includes:
A1, configuration surroundings;
A2, creation and configuration application;
A3, dispensing containers deployment, i.e. Deployment;
A4, configuration service, i.e. Service;
A5, automatic scalable appearance, i.e. HPA are configured.
Wherein, configuration surroundings may include addition environment, configuration assembly line.
Environment corresponds to a namespace in Kubernetes, and addition environment is included in application management software interface By input environment title, cluster name, whether containerization creates new environment, and addition environment visualization interface is as shown in Figure 4.
Configuring assembly line includes to the configuration of environment assembly line under line and the configuration to environment assembly line on line.
Environment assembly line under line are as follows: code compilation, is deployed to cluster at mirror image building, as shown in figure 5, needing to add following 4 A task:
Nodename Trigger task
INDEX Test_Gears_Docker_index
TAR Test_Gears_Docker_tar
IMAGE Test_Gears_Docker_image
DEPLOY Test_Gears_Docker_deploy
Environment assembly line on line are as follows: mirror image push is deployed to cluster, appoints as shown in fig. 6, needing to add following 3 work Business:
Nodename Trigger task
INDEX ON_Gears_Docker_index
IMAGE ON_Gears_Docker_image
DEPLOY ON_Gears_Docker_deploy
Creation and configuration application may include two kinds of situations, and one is using conventional mirror image, one is use the The case where tripartite's mirror image.
Using conventional mirror image, it may be necessary to carry out code compilation and mirror image building, create and configure at this time Using may include: input the address gitlab;Compilation script path is inputted, compilation script path is relative to gitlab project top Layer catalogue, if compilation script path can not be inputted using not needing to be compiled;The path Dockerfile is inputted, The path Dockerfile is relative to gitlab project top-level director.
Using third party's mirror image, code compilation and mirror image building are needed not move through, creates and configures at this time Using may include: selection using third party's mirror image;Mirror image address is inputted, for example, mysql:5.6.
Configuration when dispensing containers deployment is the operation of container.
As shown in figures 7 a and 7b, the parameter configured required for dispensing containers deployment may include such as one in following table Or it is multiple:
Configuration service is the access mode configuration of container.
After configuration service, it can play the role that
Under same environment other application can pass through Service access application interfaces, wherein Service with answer It is identical with name.Since Kubernetes cluster provides DNS function, Service IP can be construed to by Service, therefore can be with Pass through Service access Service.For example, App name is guava-mall-api, the port Service is 28085, then together Other application can access the interface of the application by http://guava-mall-api:28085 under one space.
After configuration of IP, container can be exposed to cluster outside access.For example, IP is configured to 172.30.10.188, then cluster Http can be passed through outside: // 172.30.10.188:28085 accesses the container of the application.Kubernetes provides load balancing, energy Request is distributed to the container of the application according to strategy.Here the IP for configuring input must be cluster interior nodes that container is run Otherwise IP will be unable to forwarding request.
As shown in figure 8, the parameter configured required for configuration service may include such as one or more of following table:
After Service configuration modification, " preservation " can be clicked, then " application " is clicked, Service can be started.
Container can be carried out laterally according to the CPU of container and/or the utilization rate of memory or threshold value by configuring automatic scalable appearance Scalable appearance configuration.
Clearly following several points are needed before configuration HPA:
One HPA can configure one or two performance indicator.For example, two performance indicators of CPU and memory can be configured, HPA will the instance number according to expected from two performance Index Calculations respectively, take wherein biggish as the expected instance number of HPA.
It is not recommended that as soon as HPA configures multiple performance indicators because be not more more HPA index more complex effects more It is good;But most suitable performance indicator should be selected according to the type of application.For example, for the backend application of computation-intensive, Cpu busy percentage is in fact exactly the optimal parameter for reflecting container payload, therefore just CPU should be selected as the sole indicator of HPA.
As shown in figure 9, configuring the parameter configured required for automatic scalable appearance may include such as one or more in following table It is a:
It after HPA configuration modification, clicks " preservation ", then clicks " application ", HPA can be started.
The disclosure applies concept by introducing, a corresponding application service of application, using application as mirror image warehouse 4, Deliver assembly line, the tie of all kinds of resources of Kubernetes.1 repository in the unique corresponding mirror image warehouse 4 of 1 application, 1 Using having and only 1 part of deployment configuration, i.e., according to application type, Deployment configuration, Statefulset configuration, Daemonset configuration, Cronjob configuration select first, and including 1 part or 0 part of Service configuration, comprising 1 part in Job configuration Or 0 part of HPA configuration.Meanwhile only one disposes resource in 1 corresponding Kubernetes of application, i.e., according to application type, Deployment resource, Statefulset resource, Daemonset resource, Cronjob resource, select in Job resource first, and Corresponding 1 part or 0 part of Service resource, corresponding 1 part or 0 part of HPA resource.
After visualization interface inputs the above configuration parameter and application essential information, it can be produced in configuration database 2 Raw tables of data, wherein tables of data may include such as one or more parameters in following table:
By visualization interface, user can input one or more parameter shown in table, and in configuration data Table as above is generated in library 2.K8s can use above table, for corresponding cluster, NameSpace, using needed for name creation Deployment resource, thus significantly reduce containment system use threshold.
In the specific embodiment of the disclosure, the disclosure is applied by introducing visualization, contributes to form simple view, Reduce the use difficulty of container PaaS system.
It is multiple to solve container PaaS system concept by helping user to establish and understand a simple view for the disclosure It is miscellaneous, use the high problem of threshold.Before introducing application design, user need to pay close attention to all kinds of resources of Kubernetes Complicated association between (Deployment, Statufulset, Daemonset, Job, Cronjob, Pod) and resource.? After introducing application design, the configuration that the center of interest of user has been transferred to application and has applied, and behind is complicated Complicated association, all transfers to the disclosure to realize automatically between Kubernetes resource management and resource.Therefore, disclosure energy Enough help user establish and understand with application be core view, thus significantly reduce containment system use threshold.
In another embodiment of the present disclosure, the present disclosure also provides a kind of visualized containers based on application Configuration management device, comprising:
Module is obtained using essential information, is configurable for obtaining using essential information;
Configuration information obtain module, be configurable for according to application essential information obtain application corresponding mirror image address with And apply corresponding deployment resource;And
Configuration module is configurable for being realized according to the corresponding mirror image address of application and the corresponding deployment resource of application Container configuration.
In the specific embodiment of the disclosure, visualized container configuration management device based on application that the disclosure provides with A kind of visualized container configuring management method based on application provided in above-described embodiment is corresponding.
In the another embodiment of present disclosure, the present disclosure also provides a kind of computer-readable mediums, deposit thereon Executable instruction is contained, which makes processor execute such as the above-mentioned visualization based on application when being executed by processor Container configuring management method.
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.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions Ground is generated according to process or function described in the disclosure.Computer can be general purpose computer, special purpose computer, computer network Network or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or calculate from one Machine readable storage medium storing program for executing is transmitted to another computer readable storage medium, for example, computer instruction can be from website station Point, computer, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line) or wireless Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.Computer can Reading storage medium can be any usable medium or include that one or more usable mediums are integrated that computer can access The data storage devices such as server, data center.Usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk) etc..
It should be noted that various embodiments are described in a progressive manner in present disclosure, each embodiment What is stressed is the difference from other embodiments, and same and similar part refers to each other i.e. between each embodiment It can.For method class embodiment, since it is similar to product class embodiment, so being described relatively simple, related place Illustrate referring to the part of product embodiments.
It should also be noted that, in this disclosure, relational terms such as first and second and the like are used merely to It distinguishes one entity or operation from another entity or operation, without necessarily requiring or implying these entities or behaviour There are any actual relationship or orders between work.Moreover, the terms "include", "comprise" or its any other variant It is intended to non-exclusive inclusion, so that including that the process, method, article or equipment of a series of elements not only includes Those elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of person's equipment.In the absence of more restrictions, the element limited by sentence "including a ...", not There is also other identical elements in the process, method, article or apparatus that includes the element for exclusion.
The foregoing description of the disclosed embodiments can be realized professional and technical personnel in the field or using in the disclosure Hold.Various modifications to these embodiments will be readily apparent to those skilled in the art, present disclosure Defined in General Principle can be real in other embodiments without departing from the spirit or scope of the present disclosure It is existing.Therefore, present disclosure is not intended to be limited to these embodiments shown in present disclosure, and is to fit to and the disclosure Principle disclosed in content and the consistent widest scope of features of novelty.

Claims (10)

1. a kind of visualized container configuring management method based on application, comprising:
It obtains and applies essential information;
The corresponding mirror image address of application is obtained according to the application essential information and applies corresponding deployment resource;And
Container configuration is realized according to the corresponding mirror image address of the application and the corresponding deployment resource of the application.
2. the visualized container configuring management method based on application as described in claim 1, wherein described to apply essential information Including application name, using place entry name;
It is obtained according to the application essential information and includes: using corresponding mirror image address
Mirror image warehouse, which is obtained, according to the application name stores library name;
Mirror image repository entry name is obtained according to entry name where the application;
Cluster information where obtaining application according to the application name obtains mirror image warehouse clothes according to cluster information where the application Business address;And
It obtains the application according to mirror image repository service address, mirror image repository entry name, mirror image warehouse storage library name and corresponds to Mirror image address.
3. the visualized container configuring management method based on application as described in claim 1, wherein described to apply essential information Including application name, application type, using NameSpace name;
It is obtained according to the application essential information and includes: using corresponding deployment resource
Deployment resource class is obtained according to the application type;
The corresponding NameSpace of the deployment resource is obtained according to the application NameSpace name;
Deployment resource name is obtained according to the application name;And
It is corresponding according to the deployment resource class, the corresponding NameSpace of deployment resource, the deployment resource name acquisition application Dispose resource.
4. the visualized container configuring management method based on application as described in claim 1, wherein described to apply essential information Including application type, the application type includes stateless application, stateful application, guards class application, task class application, timing One of task class application is a variety of.
5. the visualized container configuring management method based on application as described in claim 1, further includes:
According to described using the determining configuration to the scalable appearance of container of essential information.
6. the visualized container configuring management method based on application as described in claim 1, further includes:
According to described using the determining configuration to service of essential information.
7. the visualized container configuring management method based on application as described in claim 1, further includes:
According to the configuration using essential information realization to container group.
8. a kind of visualized container configuration management device based on application, comprising:
Module is obtained using essential information, is configurable for obtaining using essential information;
Configuration information obtain module, be configurable for according to the application essential information obtain apply corresponding mirror image address with And apply corresponding deployment resource;And
Configuration module is configurable for according to the corresponding mirror image address of the application and the corresponding deployment resource of the application Realize container configuration.
9. a kind of visualized container configuration management system based on application, including PaaS system, the PaaS system include:
Application management module, for managing and/or configuring using essential information;
Resource management module is disposed, for according to the application basic information management and/or configuration deployment resource;And
Mirror image storehouse management module, for according to the application basic information management and/or configuration mirroring address.
10. a kind of computer-readable medium, is stored thereon with executable instruction, the executable instruction makes when being executed by processor Processor executes the method according to claim 1 to 7.
CN201910618664.7A 2019-07-09 2019-07-09 Visualized container configuring management method, apparatus and system based on application Pending CN110333877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910618664.7A CN110333877A (en) 2019-07-09 2019-07-09 Visualized container configuring management method, apparatus and system based on application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910618664.7A CN110333877A (en) 2019-07-09 2019-07-09 Visualized container configuring management method, apparatus and system based on application

Publications (1)

Publication Number Publication Date
CN110333877A true CN110333877A (en) 2019-10-15

Family

ID=68145871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910618664.7A Pending CN110333877A (en) 2019-07-09 2019-07-09 Visualized container configuring management method, apparatus and system based on application

Country Status (1)

Country Link
CN (1) CN110333877A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806880A (en) * 2019-11-04 2020-02-18 紫光云技术有限公司 High-reliability, high-performance and high-efficiency container cluster deployment method
CN110933067A (en) * 2019-11-26 2020-03-27 北京知道创宇信息技术股份有限公司 Malicious mail identification method and device, electronic equipment and storage medium
CN110968427A (en) * 2019-12-05 2020-04-07 北京京东尚科信息技术有限公司 Cluster resource control method and device and cloud computing system
CN110990121A (en) * 2019-11-28 2020-04-10 中国—东盟信息港股份有限公司 Kubernetes scheduling strategy based on application portrait
CN111026499A (en) * 2019-11-13 2020-04-17 广州文远知行科技有限公司 Container processing method, device, computer equipment and storage medium
CN111399855A (en) * 2020-03-09 2020-07-10 山东汇贸电子口岸有限公司 Automatic application instance publishing method based on container technology
CN111464522A (en) * 2020-03-27 2020-07-28 银江股份有限公司 System and method for automatically generating service based on container
CN111865686A (en) * 2020-07-20 2020-10-30 北京百度网讯科技有限公司 Cloud product capacity expansion method, device, equipment and storage medium
CN112084040A (en) * 2020-09-28 2020-12-15 上海道客网络科技有限公司 Container resource planning system and method based on application mirror image data identification
CN112162817A (en) * 2020-09-09 2021-01-01 新浪网技术(中国)有限公司 Processing method and device for deploying service resources of container cluster and storage medium
CN112667360A (en) * 2020-12-31 2021-04-16 宝付网络科技(上海)有限公司 Cloud platform system based on Kubernetes and docker unified scheduling
CN113342457A (en) * 2020-03-02 2021-09-03 中科星图股份有限公司 Kubernetes scheduling method based on registration and discovery of Eureka service
CN113676501A (en) * 2020-05-13 2021-11-19 北京金山云网络技术有限公司 Application deployment method and device based on Kubernetes cluster and electronic equipment
WO2022028056A1 (en) * 2020-08-06 2022-02-10 苏州浪潮智能科技有限公司 Mirror list query architecture of multi-architecture cloud platform mirror warehouse
CN114625436A (en) * 2022-03-04 2022-06-14 中国—东盟信息港股份有限公司 Front-end application containerization remote module loading method
CN114625438A (en) * 2022-03-04 2022-06-14 中国—东盟信息港股份有限公司 Front-end application containerized local module loading method
CN117707609A (en) * 2024-02-06 2024-03-15 云账户技术(天津)有限公司 Method and device for managing script tasks based on container arrangement management tool

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017045424A1 (en) * 2015-09-18 2017-03-23 乐视控股(北京)有限公司 Application program deployment system and deployment method
CN108574702A (en) * 2017-03-08 2018-09-25 中兴通讯股份有限公司 A kind of cloud application dispositions method and system
CN108958927A (en) * 2018-05-31 2018-12-07 康键信息技术(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of container application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017045424A1 (en) * 2015-09-18 2017-03-23 乐视控股(北京)有限公司 Application program deployment system and deployment method
CN108574702A (en) * 2017-03-08 2018-09-25 中兴通讯股份有限公司 A kind of cloud application dispositions method and system
CN108958927A (en) * 2018-05-31 2018-12-07 康键信息技术(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of container application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘泰玮: ""基于Docker的容器集群部署管理平台的设计与实现"", 《中国优秀硕士学位论文全文数据库》, pages 50 - 63 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806880A (en) * 2019-11-04 2020-02-18 紫光云技术有限公司 High-reliability, high-performance and high-efficiency container cluster deployment method
CN111026499A (en) * 2019-11-13 2020-04-17 广州文远知行科技有限公司 Container processing method, device, computer equipment and storage medium
CN110933067A (en) * 2019-11-26 2020-03-27 北京知道创宇信息技术股份有限公司 Malicious mail identification method and device, electronic equipment and storage medium
CN110990121A (en) * 2019-11-28 2020-04-10 中国—东盟信息港股份有限公司 Kubernetes scheduling strategy based on application portrait
CN110968427A (en) * 2019-12-05 2020-04-07 北京京东尚科信息技术有限公司 Cluster resource control method and device and cloud computing system
CN113342457A (en) * 2020-03-02 2021-09-03 中科星图股份有限公司 Kubernetes scheduling method based on registration and discovery of Eureka service
CN111399855A (en) * 2020-03-09 2020-07-10 山东汇贸电子口岸有限公司 Automatic application instance publishing method based on container technology
CN111399855B (en) * 2020-03-09 2023-10-20 山东省电子口岸有限公司 Automatic application instance publishing method based on container technology
CN111464522A (en) * 2020-03-27 2020-07-28 银江股份有限公司 System and method for automatically generating service based on container
CN113676501A (en) * 2020-05-13 2021-11-19 北京金山云网络技术有限公司 Application deployment method and device based on Kubernetes cluster and electronic equipment
CN111865686A (en) * 2020-07-20 2020-10-30 北京百度网讯科技有限公司 Cloud product capacity expansion method, device, equipment and storage medium
WO2022028056A1 (en) * 2020-08-06 2022-02-10 苏州浪潮智能科技有限公司 Mirror list query architecture of multi-architecture cloud platform mirror warehouse
CN112162817A (en) * 2020-09-09 2021-01-01 新浪网技术(中国)有限公司 Processing method and device for deploying service resources of container cluster and storage medium
CN112162817B (en) * 2020-09-09 2023-09-26 新浪技术(中国)有限公司 Processing method and device for deployment service resources of container cluster and storage medium
CN112084040A (en) * 2020-09-28 2020-12-15 上海道客网络科技有限公司 Container resource planning system and method based on application mirror image data identification
CN112084040B (en) * 2020-09-28 2021-07-20 上海道客网络科技有限公司 Container resource planning system and method based on application mirror image data identification
CN112667360A (en) * 2020-12-31 2021-04-16 宝付网络科技(上海)有限公司 Cloud platform system based on Kubernetes and docker unified scheduling
CN114625438A (en) * 2022-03-04 2022-06-14 中国—东盟信息港股份有限公司 Front-end application containerized local module loading method
CN114625436A (en) * 2022-03-04 2022-06-14 中国—东盟信息港股份有限公司 Front-end application containerization remote module loading method
CN114625438B (en) * 2022-03-04 2024-06-04 中国—东盟信息港股份有限公司 Front-end application containerized local module loading method
CN114625436B (en) * 2022-03-04 2024-06-04 中国—东盟信息港股份有限公司 Remote module loading method for front-end application containerization
CN117707609A (en) * 2024-02-06 2024-03-15 云账户技术(天津)有限公司 Method and device for managing script tasks based on container arrangement management tool
CN117707609B (en) * 2024-02-06 2024-04-30 云账户技术(天津)有限公司 Method and device for managing script tasks based on container arrangement management tool

Similar Documents

Publication Publication Date Title
CN110333877A (en) Visualized container configuring management method, apparatus and system based on application
US20240204978A1 (en) Interface for digital operator platform including response caching
EP3098731B1 (en) System for linking diverse data systems
CN103425529B (en) The system and method for virtual machine is migrated between network computing environment based on the utilization of resources
CN108289034B (en) A kind of fault discovery method and apparatus
Delicato et al. Resource management for Internet of Things
US20160217403A1 (en) Providing resources to customers via node-relationship models
CN104011701A (en) Content delivery network
Ranjan et al. Peer-to-peer service provisioning in cloud computing environments
CN103516777A (en) A method of provisioning in a cloud compute environment
CN103403683A (en) Capabilities based routing of virtual data center service request
CN103947140A (en) Systems and methods for the demand-driven deployment of location-neutral software
WO2015034485A1 (en) Providing services as resources for other services
CN108959573A (en) Data migration method, device, electronic equipment and storage medium based on desktop cloud
Cardoso et al. Cloud computing automation: Integrating usdl and tosca
CN104461567A (en) Method and system for releasing software package
US8978041B2 (en) Service virtualization container
US20120159021A1 (en) Storage topology manager
CN109104368A (en) A kind of request connection method, device, server and computer readable storage medium
CN106022727B (en) Enterprise supply chain management method
CN109462507A (en) Configure update method, device, system and electronic equipment
CN107222575B (en) The method that OPC is communicated between realization industrial control equipment
US20160092533A1 (en) Federated management of a plurality of metadata storage mechanisms
Panarello et al. Automating the deployment of multi-cloud applications in federated cloud environments
US20200202265A1 (en) Automated parenting of work items in a resource management structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191015

RJ01 Rejection of invention patent application after publication