Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software deployment method and device based on Kubernetes platform

A platform and software technology, applied in the field of cloud computing, can solve the problems of dependency failure, uncontrollable influence of the network, long operation time, etc., and achieve the effect of expansion capability

Pending Publication Date: 2022-03-04
安超云软件有限公司
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the traditional MySQL MHA installation method, the entire installation process is more troublesome, and may be affected by the uncontrollable network. Under normal circumstances, the DBA (Database Administrator) is generally deployed in about 2 to 3 hours, and many tasks need to be performed on at least three servers. Repeat operations on nodes
Chinese patent application CN202010616118.2 discloses a system and method for ensuring the high availability and consistency of MHA clusters, which mainly avoids the failure of MySQL clusters to switch normally due to simultaneous failures of MHA and MySQL clusters and ensures the availability of user applications
However, the Ansible deployment of this non-cloud-native solution is procedural, and the running process takes a long time. Every link must be run once, and dependency failures are prone to occur.
[0005] In summary, database containerization is imperative, but the Kubernetes platform does not have a particularly good design solution for high availability solutions for database clusters

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software deployment method and device based on Kubernetes platform
  • Software deployment method and device based on Kubernetes platform
  • Software deployment method and device based on Kubernetes platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below, the present application will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, on the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form a new embodiment. .

[0035] Kubernetes is a declarative resource orchestration framework that supports automated deployment, large-scale scalability, and application container management. When an application is deployed in a production environment, multiple instances of the application are usually deployed to load balance application requests. In Kubernetes, multiple containers can be created, each container runs an application instance, and then through the built-in load balancing strategy, the management, discovery, and access of this group of application instances are realized. These details do not require operation and maintenance personnel to go to Complex manual con...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a software deployment method based on a Kubernetes platform, and the method comprises the steps that a MySQL cluster is deployed on the Kubernetes platform, and the Kubernetes platform comprises a master node and a slave node; mHA software is provided, connection between the Kubernetes platform and the MHA software is established, and the MHA software comprises a management node and a plurality of database nodes; selecting a database master node from the plurality of database nodes in response to a request of a user for accessing the database; generating a master node label and a slave node label of the Kubernetes platform according to the information of the master node and the management node of the database; and controlling the MHA software to send a service request to the Kubernetes platform according to the master node label and the slave node label of the Kubernetes platform. According to the method, the MHA is transplanted to the Kubernetes platform, comprehensive containerization is carried out on enterprise applications, and the resource utilization rate and the operation and maintenance efficiency are improved.

Description

technical field [0001] The present application relates to the technical field of cloud computing, and in particular to a software deployment method, device, electronic equipment and computer-readable storage medium based on the Kubernetes platform. Background technique [0002] Before software development, it is usually necessary to prepare various operating environments, IDE (integrated development environment), auxiliary tools, etc. The delivery process of a usable software usually includes two parts: development and maintenance. In practice, it is difficult to ensure that the software in the software development, testing and operation and maintenance phases can run in exactly the same environment. Container technology solves the above problems very well. It effectively divides the resources of a single operating system into isolated groups, and can better balance conflicting resource usage requirements among isolated groups. Container technology has become a very popular...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/21G06F16/27G06F16/28G06F8/76G06F8/60G06F9/455G06F11/14
CPCG06F16/21G06F16/27G06F16/284G06F8/76G06F8/60G06F9/45558G06F11/1464G06F2201/80G06F2009/4557
Inventor 李瑞友
Owner 安超云软件有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products