Application platform deployment method and system based on K8s

By building a containerized cluster environment on Kubernetes and configuring the Kuboard tool, generating and exporting AM configuration files, and combining this with Harbor repository management, the complexity of traditional deployment methods is solved, enabling efficient and stable application platform deployment and operation.

CN121807324APending Publication Date: 2026-04-07AISINO CORPORATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-24
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Traditional application platform deployment methods suffer from problems such as long deployment cycles, inconsistent environments, slow operation and maintenance response, and complex K8s command line operation with high learning costs.

Method used

Build a containerized cluster environment based on Kubernetes, configure the Kuboard visual operation tool, build a general image and generate a configuration scheme, export the AM configuration file through the operation tool for deployment configuration, and combine it with the Harbor image repository for storage and management, providing real-time monitoring and operation and maintenance management.

Benefits of technology

It lowers the barrier to entry for using Kubernetes, reduces deployment difficulty through template-based deployment, improves deployment efficiency, enables rapid system deployment and stable operation, and provides complete monitoring, logging, permission and rollback mechanisms, thereby enhancing system maintainability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807324A_ABST
    Figure CN121807324A_ABST
Patent Text Reader

Abstract

The invention discloses an application platform deployment method and system based on K8s, and belongs to the technical field of cloud computing and container arrangement. The method comprises the following steps: constructing a containerized cluster environment based on K8s, and configuring a Kuboard visual operation tool in the cluster environment; constructing a general mirror image in the cluster environment, generating a configuration scheme for micro-services of an application platform through the general mirror image, and constructing a general configuration AM template by using the configuration scheme and application platform parameters through the operation tool; and exporting the general configuration AM template as an AM configuration file based on the operation tool, and performing deployment configuration on the micro service of the application platform by using the AM configuration file through the operation tool. According to the method, the arrangement capability of the K8s and the Kuboard visual tool are combined for platform deployment, so that the use threshold of the K8s is reduced, and rapid online and stable operation of the system are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cloud computing and container orchestration technology, and more specifically, to a method and system for deploying an application platform based on Kubernetes. Background Technology

[0002] With the widespread adoption of cloud computing and microservice architectures, the complexity of application platform deployment and maintenance has increased significantly. Traditional deployment methods rely on manual scripts or basic orchestration tools, which suffer from long deployment cycles, inconsistent environments, and slow operational response. While Kubernetes provides powerful container orchestration capabilities, its command-line operations are complex and have a high learning curve, making it unsuitable for rapid implementation and daily maintenance. Summary of the Invention

[0003] To address the above problems, this invention proposes a method for deploying an application platform based on Kubernetes, comprising:

[0004] A containerized cluster environment is built based on Kubernetes, and the Kuboard visual operation tool is configured in the cluster environment;

[0005] A general image is built in the cluster environment. A configuration scheme is generated for the microservices of the application platform using the general image. A general configuration AM template is built using the operation tool and the configuration scheme and application platform parameters.

[0006] The general configuration AM template is exported as an AM configuration file using the operation tool, and the AM configuration file is used to deploy and configure the microservices of the application platform.

[0007] Optionally, the method also includes:

[0008] After building a containerized cluster environment based on Kubernetes, the Harbor image repository is installed in the cluster environment to store and manage container images.

[0009] Optionally, a generic image is built in the cluster environment, including:

[0010] Determine the type of application platform and the type of microservice. Based on the type of application platform and the type of microservice, retrieve the container image adapted to the application platform from the Harbor image repository in the cluster environment, and build a general image using the container image.

[0011] Optionally, the method also includes:

[0012] Based on the operation tool, the AM configuration file is used for virtual deployment of the application platform in the test environment to test stability of the application platform microservice deployment, if the stability meets the requirements of the application platform, the AM configuration file is used through the operation interface to configure deployment of the microservice of the application platform;

[0013] If the stability does not meet the requirements of the application platform, the general configuration AM template is reconstructed.

[0014] Optionally, the AM configuration file comprises:

[0015] The deployment scheme of the microservice of the application platform, and the image repository integration, health check, resource limitation and service exposure setting scheme.

[0016] Optionally, the method further comprises:

[0017] After the microservice deployment configuration of the application platform, the operation interface is used to monitor the running state of the application platform in real time, and the operation and maintenance management of the application platform is performed based on the real-time monitoring result.

[0018] Optionally, the running state comprises:

[0019] The microservice application state, resource usage and log output state.

[0020] In still another aspect, the application further provides an application platform deployment system based on K8s, comprising:

[0021] The deployment environment unit is configured to build a containerized cluster environment based on K8s, and configure a Kuboard visual operation tool in the cluster environment;

[0022] The scheme generation unit is configured to build a general image in the cluster environment, generate a configuration scheme for the microservice of the application platform through the general image, and construct a general configuration AM template through the operation tool using the configuration scheme and application platform parameters;

[0023] The deployment unit is configured to export the general configuration AM template to an AM configuration file based on the operation tool, and configure deployment of the microservice of the application platform through the operation tool using the AM configuration file.

[0024] Optionally, the deployment environment unit is further configured to:

[0025] After the containerized cluster environment is built based on K8s, install a Harbor image repository in the cluster environment, and store and manage container images through the image repository.

[0026] Optionally, a generic image is built in the cluster environment, including:

[0027] Determine the type of application platform and the type of microservice. Based on the type of application platform and the type of microservice, retrieve the container image adapted to the application platform from the Harbor image repository in the cluster environment, and build a general image using the container image.

[0028] Optionally, the deployment unit is also used for:

[0029] Based on the operation tool, the application platform is virtually deployed in the test environment using the AM configuration file to test the stability of the application platform's microservice deployment. If the stability meets the application platform requirements, the microservices of the application platform are deployed and configured using the AM configuration file through the operation interface.

[0030] If the stability does not meet the application platform requirements, the general configuration AM template will be rebuilt.

[0031] Optional AM profiles include:

[0032] Deployment schemes for application platform microservices, as well as schemes for image repository integration, health checks, resource limits, and service exposure settings.

[0033] Optionally, the deployment unit is also used for:

[0034] After the microservices of the application platform are deployed and configured, the operating status of the application platform is monitored in real time based on the operation interface, and the application platform is operated and managed based on the real-time monitoring results.

[0035] Optional running states include:

[0036] Microservice application status, resource usage, and log output status.

[0037] In another aspect, the present invention also provides a computing device, comprising: one or more processors;

[0038] A processor is used to execute one or more programs;

[0039] When the one or more programs are executed by the one or more processors, the method described above is implemented.

[0040] In another aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements the method described above.

[0041] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0042] This invention provides a method for deploying an application platform based on Kubernetes (K8s), comprising: constructing a containerized cluster environment based on K8s, and configuring the Kuboard visualization tool within the cluster environment; constructing a general image in the cluster environment, generating configuration schemes for the microservices of the application platform using the general image, and constructing a general configuration AM template using the configuration schemes and application platform parameters through the visualization tool; exporting the general configuration AM template as an AM configuration file using the visualization tool, and deploying and configuring the microservices of the application platform using the AM configuration file through the visualization tool. This invention combines the orchestration capabilities of K8s with the Kuboard visualization tool, lowering the barrier to entry for K8s, reducing deployment difficulty and improving deployment efficiency through template-based deployment, and achieving rapid system deployment and stable operation through automated operation and maintenance. Furthermore, the comprehensive monitoring, logging, permission, and rollback mechanisms provided enhance the maintainability and security of the system. Attached Figure Description

[0043] Figure 1 This is a flowchart of an application platform deployment method based on K8s according to the present invention;

[0044] Figure 2 This is a structural diagram of an application platform deployment system based on K8s according to the present invention. Detailed Implementation

[0045] Exemplary embodiments of the invention will now be described with reference to the accompanying drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided to fully and completely disclose the invention and to fully convey its scope to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the drawings is not intended to limit the invention. In the drawings, the same units / elements are referred to by the same reference numerals.

[0046] Unless otherwise stated, the terms used herein (including technical terms) have their common meaning as understood by one of ordinary skill in the art. Furthermore, it is understood that terms defined in commonly used dictionaries should be understood to have a meaning consistent with the context of their relevant field, and not to be interpreted as having an idealized or overly formal meaning.

[0047] Example 1:

[0048] This invention proposes a Kubernetes-based application platform deployment method S100, such as... Figure 1 As shown, it includes:

[0049] S101, a containerized cluster environment is built based on K8s, and the Kuboard visual operation tool is configured in the cluster environment;

[0050] S102, build a general image in the cluster environment, generate a configuration scheme for the microservices of the application platform through the general image, and build a general configuration AM template using the configuration scheme and application platform parameters through the operation tool;

[0051] S103, Based on the operation tool, the general configuration AM template is exported as an AM configuration file, and the operation tool is used to deploy and configure the microservices of the application platform using the AM configuration file.

[0052] The methods also include:

[0053] After building a containerized cluster environment based on Kubernetes, the Harbor image repository is installed in the cluster environment to store and manage container images.

[0054] The construction of a universal image in the cluster environment includes:

[0055] Determine the type of application platform and the type of microservice. Based on the type of application platform and the type of microservice, retrieve the container image adapted to the application platform from the Harbor image repository in the cluster environment, and build a general image using the container image.

[0056] The methods also include:

[0057] Based on the operation tool, the application platform is virtually deployed in the test environment using the AM configuration file to test the stability of the application platform's microservice deployment. If the stability meets the application platform requirements, the microservices of the application platform are deployed and configured using the AM configuration file through the operation interface.

[0058] If the stability does not meet the application platform requirements, the general configuration AM template will be rebuilt.

[0059] The AM configuration file includes:

[0060] Deployment schemes for application platform microservices, as well as schemes for image repository integration, health checks, resource limits, and service exposure settings.

[0061] The methods also include:

[0062] After the microservices of the application platform are deployed and configured, the operating status of the application platform is monitored in real time based on the operation interface, and the application platform is operated and managed based on the real-time monitoring results.

[0063] The operating status includes:

[0064] Microservice application status, resource usage, and log output status.

[0065] The invention will be further explained below with specific examples:

[0066] By constructing an integrated solution of "intelligent scheduling - automated pipeline - dynamic scaling - unified operation and maintenance monitoring", manual intervention in deployment is reduced, resource mismatch rate is lowered, load response speed is accelerated, and troubleshooting time is shortened, ultimately achieving an application deployment efficiency improvement of more than 30% and an operation and maintenance cost reduction of more than 25%.

[0067] This method, based on the Kubernetes container orchestration platform, uses the Harbor image repository and the Kuboard visual management tool to achieve rapid deployment, unified management, and automated operation and maintenance of application platforms. It specifically includes three parts: environment preparation, deployment configuration, and visual operation and maintenance.

[0068] The specific process includes:

[0069] Environmental preparation includes:

[0070] Build a containerized cluster environment based on Kubernetes; install the Harbor image repository to manage container images; install and configure the Kuboard visual management tool as the cluster management interface; and use Kuboard to uniformly manage resources such as namespaces, storage classes, and network policies.

[0071] Deployment configuration, including:

[0072] Design and build a universal image so that all microservices can be deployed using the same image; use the Kuboard interface to visualize the configuration and related parameters to build a universal configuration YAML template, enabling deployment of all microservices using the same template; support image repository integration, health checks, resource limits, service exposure settings, etc.; and utilize Kuboard's version control and rollback mechanism to ensure the deployment process is controllable.

[0073] Configuration export includes:

[0074] By leveraging the capabilities of the Kuboard visualization tool, the deployed microservice configuration can be exported as a YAML configuration file. Combined with a generic image, this enables one-click deployment from the test environment to the production environment, greatly improving deployment efficiency.

[0075] Visualized operations and maintenance, including:

[0076] The Kuboard dashboard provides real-time monitoring of application status, resource usage, and log output; it supports one-click scaling, rolling updates, and self-healing operations; and it offers hierarchical permission management to support multi-tenant collaborative operations.

[0077] This invention combines Kubernetes orchestration capabilities with the Kuboard visualization tool to lower the barrier to entry for Kubernetes; it reduces deployment difficulty and improves deployment efficiency through template-based deployment; it enables rapid system deployment and stable operation through automated operation and maintenance; and it provides complete monitoring, logging, permission, and rollback mechanisms to improve system maintainability and security.

[0078] Compared with existing Kubernetes-based deployment solutions, this invention has the following significant advantages:

[0079] Deployment efficiency is greatly improved: 80% of manual operations are eliminated through automated pipelines, the deployment time for a single application is reduced from 30 minutes to less than 5 minutes, and the deployment failure rate is reduced from 15%-20% to less than 3%.

[0080] Resource utilization optimization: Intelligent scheduling combined with load forecasting increases resource utilization from 40%-50% to 65%-75%, reducing resource idleness and waste;

[0081] Faster dynamic response: Predictive scaling up and down is 1-2 hours faster than native HPA response, and peak service degradation rate is reduced from 10% to below 0.5%;

[0082] Reduced operation and maintenance costs: Unified monitoring and automatic fault location shorten the fault diagnosis time from 1 hour to less than 10 minutes, reducing operation and maintenance labor costs by 25%-30%;

[0083] Highly scalable: Reduces the deployment and adaptation time of new applications by 60%, and adapts to various application scenarios such as microservices, big data, and AI.

[0084] Example 2:

[0085] Furthermore, this invention also proposes an application platform deployment system 200 based on Kubernetes, such as... Figure 2 As shown, it includes:

[0086] The deployment environment unit 201 is used to build a containerized cluster environment based on K8s and configure the Kuboard visualization tool in the cluster environment.

[0087] The scheme generation unit 202 is used to build a general image in the cluster environment, generate a configuration scheme for the microservices of the application platform through the general image, and build a general configuration AM template using the configuration scheme and application platform parameters through the operation tool.

[0088] Deployment unit 203 is used to export the general configuration AM template as an AM configuration file based on the operation tool, and to use the AM configuration file to deploy and configure the microservices of the application platform through the operation tool.

[0089] The deployment environment building unit 201 is also used for:

[0090] After building a containerized cluster environment based on Kubernetes, the Harbor image repository is installed in the cluster environment to store and manage container images.

[0091] The construction of a universal image in the cluster environment includes:

[0092] Determine the type of application platform and the type of microservice. Based on the type of application platform and the type of microservice, retrieve the container image adapted to the application platform from the Harbor image repository in the cluster environment, and build a general image using the container image.

[0093] The deployment unit 201 is also used for:

[0094] Based on the operation tool, the application platform is virtually deployed in the test environment using the AM configuration file to test the stability of the application platform's microservice deployment. If the stability meets the application platform requirements, the microservices of the application platform are deployed and configured using the AM configuration file through the operation interface.

[0095] If the stability does not meet the application platform requirements, the general configuration AM template will be rebuilt.

[0096] The AM configuration file includes:

[0097] Deployment schemes for application platform microservices, as well as schemes for image repository integration, health checks, resource limits, and service exposure settings.

[0098] The deployment unit 201 is also used for:

[0099] After the microservices of the application platform are deployed and configured, the operating status of the application platform is monitored in real time based on the operation interface, and the application platform is operated and managed based on the real-time monitoring results.

[0100] The operating status includes:

[0101] Microservice application status, resource usage, and log output status.

[0102] This invention combines the orchestration capabilities of Kubernetes with the Kuboard visualization tool, lowering the barrier to entry for Kubernetes. It reduces deployment difficulty and improves deployment efficiency through template-based deployment. Combined with automated operation and maintenance, it enables rapid system deployment and stable operation. Furthermore, it provides complete monitoring, logging, permission, and rollback mechanisms, enhancing the maintainability and security of the system.

[0103] Example 3:

[0104] Based on the same inventive concept, this invention also provides a computer device, which includes a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in the computer storage medium to implement corresponding method flows or corresponding functions, thereby implementing the steps of the methods in the above embodiments.

[0105] Example 4:

[0106] Based on the same inventive concept, this invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiments.

[0107] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention can be implemented using various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0108] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0111] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the invention.

[0112] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A method for deploying an application platform based on Kubernetes, characterized in that, include: A containerized cluster environment is built based on Kubernetes, and the Kuboard visual operation tool is configured in the cluster environment; A general image is built in the cluster environment. A configuration scheme is generated for the microservices of the application platform using the general image. A general configuration AM template is built using the operation tool and the configuration scheme and application platform parameters. The general configuration AM template is exported as an AM configuration file using the operation tool, and the AM configuration file is used to deploy and configure the microservices of the application platform.

2. The application platform deployment method according to claim 1, characterized in that, The method further includes: After building a containerized cluster environment based on Kubernetes, the Harbor image repository is installed in the cluster environment to store and manage container images.

3. The application platform deployment method according to claim 1, characterized in that, The process of building a generic image in the cluster environment includes: Determine the type of application platform and the type of microservice. Based on the type of application platform and the type of microservice, retrieve the container image adapted to the application platform from the Harbor image repository in the cluster environment, and build a general image using the container image.

4. The application platform deployment method according to claim 1, characterized in that, The method further includes: Based on the operation tool, the application platform is virtually deployed in the test environment using the AM configuration file to test the stability of the application platform's microservice deployment. If the stability meets the application platform requirements, the microservices of the application platform are deployed and configured using the AM configuration file through the operation interface. If the stability does not meet the application platform requirements, the general configuration AM template will be rebuilt.

5. The application platform deployment method according to claim 1, characterized in that, The AM configuration file includes: Deployment schemes for application platform microservices, as well as schemes for image repository integration, health checks, resource limits, and service exposure settings.

6. The application platform deployment method according to claim 1, characterized in that, The method further includes: After the microservices of the application platform are deployed and configured, the operating status of the application platform is monitored in real time based on the operation interface, and the application platform is operated and managed based on the real-time monitoring results.

7. The application platform deployment method according to claim 6, characterized in that, The operating state includes: Microservice application status, resource usage, and log output status.

8. A Kubernetes-based application platform deployment system, characterized in that, include: A deployment environment unit is built for constructing a containerized cluster environment based on K8s, and the Kuboard visualization tool is configured in the cluster environment; The scheme generation unit is used to build a general image in the cluster environment, generate a configuration scheme for the microservices of the application platform through the general image, and use the operation tool to build a general configuration AM template using the configuration scheme and application platform parameters. The deployment unit is used to export the general configuration AM template into an AM configuration file based on the operation tool, and to use the AM configuration file to deploy and configure the microservices of the application platform through the operation tool.

9. A computer device, characterized in that, include: One or more processors; A processor is used to execute one or more programs; When the one or more programs are executed by the one or more processors, the method described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that, It contains a computer program, which, when executed, implements the method as described in any one of claims 1-7.