CN116248526A - Method and device for deploying container platform and electronic equipment - Google Patents

Method and device for deploying container platform and electronic equipment Download PDF

Info

Publication number
CN116248526A
CN116248526A CN202310182586.7A CN202310182586A CN116248526A CN 116248526 A CN116248526 A CN 116248526A CN 202310182586 A CN202310182586 A CN 202310182586A CN 116248526 A CN116248526 A CN 116248526A
Authority
CN
China
Prior art keywords
node
information
end equipment
configuration parameter
deployment
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
CN202310182586.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.)
Wuhan Dayun Data Technology Co ltd
Original Assignee
Wuhan Dayun Data 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 Wuhan Dayun Data Technology Co ltd filed Critical Wuhan Dayun Data Technology Co ltd
Priority to CN202310182586.7A priority Critical patent/CN116248526A/en
Publication of CN116248526A publication Critical patent/CN116248526A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0883Semiautomatic configuration, e.g. proposals from system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Environmental & Geological Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and a device for deploying a container platform and electronic equipment, wherein the method comprises the following steps: acquiring node preliminary information sent by front-end equipment based on a visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result; determining node detailed information based on the node preliminary information, and transmitting the node detailed information to front-end equipment in json format; the method comprises the steps of obtaining configuration parameter information and corresponding unique identifiers and node detailed information sent by front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifiers and the node detailed information to obtain cluster configuration parameter files, and sending the cluster configuration parameter files to the front-end equipment for visual display; and under the condition that a deployment instruction sent by the front-end equipment is received, executing the deployment operation of the container platform based on the configuration parameter information. The invention can solve the technical problem that the setting parameters of the deployment container platform cannot be flexibly adjusted in the prior art.

Description

Method and device for deploying container platform and electronic equipment
Technical Field
The present invention relates to the field of information technologies, and in particular, to a method and an apparatus for deploying a container platform, and an electronic device.
Background
The massive growth of users and data brings challenges to development and operation and maintenance, and simultaneously brings technical innovation, complex application gradually evolves from a single mode to a micro-service mode, and the micro-service architecture is not only the innovation of the application architecture, but also the technical innovation of the development and operation and maintenance. In recent years, cloud computing technology has been rapidly developed due to its characteristics of high flexibility, high fault tolerance, etc., and among them, cloud native technology represented by containers, micro services, and DevOps has been widely used. With technology iteration and business demand upgrading, container platforms based on cloud technology are increasingly appeared in various industries, and accordingly container platform deployment demands are vigorous.
At present, most of container platform deployment tasks are automatically deployed in a command mode by utilizing an automatic operation and maintenance tool, and the deployment in a command mode does not have flexibility in parameter modification and can not flexibly adjust the setting parameters of the deployed container platform.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus and an electronic device for deploying a container platform, so as to solve the technical problem that the setting parameters of the deploying container platform cannot be flexibly adjusted in the prior art.
To achieve the above object, the present invention provides a method of deploying a container platform, comprising:
acquiring node preliminary information sent by front-end equipment based on a visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
determining node detailed information based on the node preliminary information and transmitting the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
acquiring configuration parameter information and a corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the content of the cluster configuration parameter file to the front-end equipment for visual display;
and under the condition that a deployment instruction sent by the front-end equipment is received, based on the configuration parameter information, executing the deployment operation of the container platform, and pushing the real-time log information corresponding to the deployment operation to the front-end equipment.
Further, the performing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result includes:
performing data verification on the node preliminary information based on the node preliminary information received by a golang structural body, and rendering the golang structural body into a configuration file which can be identified by an onsible command after the verification is passed;
and remotely executing an allowable command based on the golang structural body to analyze the configuration file, so as to obtain the node connectivity detection result.
Further, in the case that the corresponding node is determined to be communicable based on the node connectivity detection result, determining the node detailed information based on the node preliminary information includes:
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, carrying out hierarchical retrieval on the node preliminary information to obtain system information of the node;
and after the system information of the node is converted into a corresponding golang structural body to be temporarily stored, the golang structural body stored with the system information of the node is stored into a corresponding file in a json format in a lasting mode, so that the detailed information of the node is obtained based on the file information stored with the golang structural body.
Further, the method for deploying the container platform further comprises:
and sending the deployment log progress information of the container platform to the front-end equipment so as to display the deployment log information through the front-end equipment.
The invention also provides a method for deploying the container platform, which comprises the following steps:
constructing a visual page for deploying the container platform;
adding node preliminary information based on the visual page, so as to send the node preliminary information to back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, node detailed information in json format is obtained, and the node detailed information is visually displayed for the operation of adding, deleting and checking the node detailed information;
the method comprises the steps of obtaining input configuration parameter information, sending the configuration parameter information, a corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, obtaining cluster configuration parameter information returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
And sending a deployment instruction to the back-end equipment to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving real-time log information corresponding to the deployment process, and performing visual display on the real-time log information.
Further, the sending the configuration parameter information, the unique identifier corresponding to the configuration parameter information, and the node detailed information to the backend device for analysis includes:
and synthesizing the configuration parameter information, the unique identifier corresponding to the configuration parameter information and the node detailed information into json-format comprehensive data, and sending the comprehensive data to the back-end equipment for analysis.
Further, the method for deploying the container platform further comprises:
and acquiring deployment log progress information of the container platform returned by the back-end equipment, and displaying the deployment log information.
The invention also provides an apparatus for deploying a container platform, comprising:
the detection module is used for acquiring node preliminary information sent by the front-end equipment based on the visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
The first processing module is used for determining node detailed information based on the node preliminary information and sending the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
the second processing module is used for acquiring the configuration parameter information and the corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the cluster configuration parameter file to the front-end equipment for visual display;
the deployment module is used for executing the deployment operation of the container platform based on the configuration parameter information under the condition of receiving the deployment instruction sent by the front-end equipment and pushing the real-time log information corresponding to the deployment process to the front-end equipment.
The invention also provides an apparatus for deploying a container platform, comprising:
the construction module is used for constructing a visual page for deploying the container platform;
the transmitting and receiving module is used for adding node preliminary information based on the visual page, transmitting the node preliminary information to the back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
The first display module is used for acquiring node detailed information in json format and visually displaying the node detailed information under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, so as to be used for adding, deleting and checking the node detailed information;
the second display module is used for acquiring the input configuration parameter information, sending the configuration parameter information, the corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, acquiring a cluster configuration parameter file returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
the deployment module is used for sending a deployment instruction to the back-end equipment so as to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving the real-time log information corresponding to the deployment process and carrying out visual display on the real-time log information.
The invention also provides an electronic device comprising a memory and a processor, wherein,
the memory is used for storing programs;
the processor is coupled to the memory for executing the program stored in the memory to implement the steps in the method of deploying a container platform as claimed in any one of the preceding claims.
The beneficial effects of the implementation mode are that: according to the method, the device and the electronic equipment for deploying the container platform, the front-end equipment performs node connectivity detection based on the node preliminary information and obtains the node connectivity detection result through the node preliminary information sent by the front-end equipment based on the visual page; under the condition that the back-end equipment determines that the corresponding nodes can be communicated based on the node connectivity detection result, the node detailed information is sent to the front-end equipment in json format; the method comprises the steps that a back-end device obtains configuration parameter information and a corresponding unique identifier thereof and node detailed information sent by a front-end device, analyzes and renders the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sends the cluster configuration parameter file to the front-end device for visual display, so that visual interaction of a deployment container platform is realized; and the back end executes the deployment operation of the container platform based on the configuration parameter information under the condition of receiving the deployment instruction sent by the front end equipment. In the whole process, a user can perform visual interaction with the back-end equipment through the front-end equipment, select corresponding nodes and corresponding configuration parameter information through the front-end equipment, complete the deployment operation of the container platform through the back-end equipment, and solve the technical problem that the setting parameters of the deployment container platform cannot be flexibly adjusted in the prior art through the selection of the nodes and the configuration parameter information in a visual mode.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram of one embodiment of a method of deploying a container platform provided by the present invention;
FIG. 2 is a flow diagram of another embodiment of a method of deploying a container platform provided by the present invention;
FIG. 3 is a schematic diagram of an embodiment of an apparatus for deploying a container platform according to the present invention;
FIG. 4 is a schematic view of another embodiment of an apparatus for deploying a container platform provided by the present invention;
fig. 5 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or modules is not necessarily limited to those steps or modules that are expressly listed or inherent to such process, method, article, or device.
The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed according to the time/logic sequence indicated by the naming or numbering, and the named or numbered flow steps may change the execution order according to the technical purpose to be achieved, so long as the same or similar technical effects can be achieved.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention provides a method and a device for deploying a container platform and electronic equipment, and the method and the device are respectively described below.
As shown in fig. 1, the present invention provides a method of deploying a container platform, comprising:
step 110, obtaining node preliminary information sent by the front-end equipment based on the visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result.
It will be appreciated that the method of deploying a container platform in this embodiment is applied to a back-end device, i.e. a server side, which performs the method steps provided in this embodiment.
The front-end equipment builds a visual page for deploying the container platform by using vue +html+js. The visualized page comprises: environmental inspection, parameter configuration preview, installation deployment, etc. The environment check page is used to add and visualize node preliminary information of the deployment container platform. The parameter configuration page is used for visualizing parameters which need to be adjusted by the deployment container platform so as to flexibly adjust. The parameter configuration preview page is a configuration parameter after visual rendering. The installation and deployment page is used for visualizing the process of deploying the container platform and monitoring the deployment progress. The relation of the pages is progressive, cross-page operation is not allowed, namely filling of configuration parameters can be carried out after environment inspection is passed, preview of the configuration parameters can be carried out after the configuration parameters are checked, the container platform can be installed and deployed without problems, and the container platform can be a cloud database.
When node preliminary information is added to a visual page, front-end equipment can realize front-end and back-end asynchronous communication through an ajax technology. After the back end receives the node preliminary information, the node preliminary information is analyzed, a configuration file which can be read by an analog is generated according to a template engine, and then the golang remotely calls cmd to execute the analog automation script and obtains the script execution result. Criteria for determining whether nodes are connected: whether an error message is returned.
And 120, determining node detailed information based on the node preliminary information and transmitting the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result.
It will be appreciated that the node will obtain node details if it is able to communicate. The node detailed information obtained by the back-end device executing the stable script through remote call cmd is data information in a complex json format, in this embodiment, the gjson plug-in the golang is used to analyze json format data, information such as a kernel, a hard disk, a network card, a memory and the like of the node is read, after the data is read, in order to enable the visual deployment application to be compatible with different environments, the embodiment is different from the traditional database storage, the data is stored in a file in the json format, and the functions of adding, deleting and modifying the data are realized for the file. After the data is stored, the information is sent to an environment inspection page at the front end for visual rendering, and various basic information of the node can be visually checked.
And 130, acquiring configuration parameter information and a corresponding unique identifier thereof and the node detailed information, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and transmitting the cluster configuration parameter file to the front-end equipment for visual display.
It can be understood that, in order to flexibly configure parameters (i.e. configuration parameter information) when using an allowable to perform automatic deployment, so as to adapt to deployment requirements under different environments, in this embodiment, parameters are passed through a front-end parameter configuration page to be controlled, and data filled in the parameter configuration page is passed through a verification and then passed through a back-end program to be processed. The front end generates a unique identifier (uuid, universally Unique Identifier) when submitting the parameters, and synthesizes the uuid, the node data and the configuration parameter information into more complex json data to be transmitted to the back end for storage and processing. And the rear end analyzes json data transmitted by the front end into corresponding structure variables by utilizing gjson. The allowable configuration parameters consist of Group and Group parameters for which the golang backend program creates a template engine that conforms to the allowable configuration parameters. After the data are analyzed, the structure variables are rendered according to a template engine, and the configuration information file is stored in a corresponding position, wherein the file name is uuid. After rendering, the configuration file information is read, and the information is sent to a front-end configuration preview page for visual display. And finishing the parameter configuration.
And 140, under the condition that a deployment instruction sent by the front-end equipment is received, executing the deployment operation of the container platform based on the configuration parameter information, and pushing the real-time log information corresponding to the deployment operation to the front-end equipment.
It can be understood that the front-end device sends a deployment instruction to the back-end device, and the golang back-end remotely executes an onsible command after receiving the instruction, loads configuration parameter information and runs an automated deployment script. Log information of the container platform deployment process is continuously output in the script running process.
In some embodiments, the performing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result includes:
performing data verification on the node preliminary information based on the node preliminary information received by a golang structural body, and rendering the golang structural body into a configuration file which can be identified by an onsible command after the verification is passed;
and remotely executing an allowable command based on the golang structural body to analyze the configuration file, so as to obtain the node connectivity detection result.
It can be understood that, after node preliminary information is added through the visual page, a "submit" instruction is sent to the back end to submit the node preliminary information to the back end device, the back end golang will analyze the submitted node preliminary information, receive the information by using the corresponding structure body and perform data verification, and after the verification is passed, render the structure body variable into a configuration file which can be identified by an onsible by using the template engine. After a configuration file is generated, the golang remotely invokes the cmd to execute an allowable command, returns node preliminary information and error information, and if no error is reported, the node detection is passed, and the next operation is performed; if the preliminary information of the error reporting node does not pass, the node is unavailable, and the error information can be displayed on the visual page.
In some embodiments, in a case that it is determined that the corresponding node is communicable based on the node connectivity detection result, determining node detailed information based on the node preliminary information includes:
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, carrying out hierarchical retrieval on the node preliminary information to obtain system information of the node;
and after the system information of the node is converted into a corresponding golang structural body to be temporarily stored, the golang structural body stored with the system information of the node is stored into a corresponding file in a json format in a lasting mode, so that the detailed information of the node is obtained based on the file information stored with the golang structural body.
And reading file information stored in the golang structure body, and converting the file information into node detailed information in json format.
It will be appreciated that the preliminary information of the node obtained by the above steps is a complex json data. Firstly, after data are acquired, the back end uses gjson to perform hierarchical retrieval on the data, and system information of the nodes is acquired, wherein the system information comprises: information such as CPU core number, memory, system version, system architecture, network card and the like; secondly, after analyzing the data, converting the data into corresponding structural body variables for temporary storage; finally, the structure variables are persisted into the file in json format. When the node preliminary information is visualized, the file information is read, data is converted into json format and transmitted to the front end for visual display, and gjson is used for realizing the node information adding, deleting and checking operation.
In some embodiments, the method of deploying a container platform further comprises:
and sending the deployment log progress information of the container platform to the front-end equipment so as to display the deployment log information through the front-end equipment.
It is understood that the deployment log information includes deployment progress information. In order to clearly sense the deployment progress of the container platform, in the embodiment, websocket communication is established at the front end and the rear end, and deployed log information is visualized in real time and process monitoring is performed. For monitoring the deployment progress of the container platform, the present embodiment adds a flag for ending the deployment of each process in an allowable-playlist automation deployment script, for example: "Cluster initialization completed". When the front end obtains real-time log information through websocket, the front end analyzes the real-time log information in json format, renders the real-time log information on a web page for visualization, automatically updates the deployment progress on the page when obtaining a process deployment ending mark, and stores the deployment progress information in json format into a file. The deployment progress information contains a deployment progress, a deployment status, and a unique identification (uuid) of the current deployment task. The stage of executing the current deployment task can be intuitively perceived through the deployment progress. The deployment state can judge whether the current deployment task is executed or completed, the deployment state is divided into 4 types, namely ready, executing type, success and failure, the deployment state is initialized to be ready when the program is initialized for the first time, and the deployment type is changed along with the change of the deployment progress in the deployment process.
The deployment of the container platform can be continued for a period of time, in order to improve the development efficiency, in the embodiment, the operation of remotely executing the automatic deployment script is asynchronous by using the go co-procedure, and the subsequent request operation can be performed while the script running information is acquired.
Regarding the storage of log information, the present invention uses two different storage modes to accommodate different requirements. 1. Temporarily caching and storing. In order to enable the front end to timely acquire log information during the deployment of the container platform, the rear end of the embodiment stores real-time information generated in the operation process of the existing in a cache by utilizing a go cache technology, and the cache can effectively accelerate the reading speed of data and relieve the pressure of reading the data by using a file. The data stored in the cache is composed of key value pairs, and the key value pairs used in the embodiment are unique identification (uuid) generated by the previous and real-time log information content. When the log information in the deployment process changes, the content corresponding to the unique identifier in the cache also changes, so that the continuous update of the log information is ensured. When websocket communication is carried out, real-time log information can be obtained through the unique identification, and data are sent to the front end for rendering and displaying. 2. And (5) persistent storage. Because the front-end page is refreshed, the page cache is lost, when websocket communication is carried out, only real-time log information of current operation is displayed, and deployment log information generated in the previous deployment process is lost. In order to solve the problem, the embodiment adds the real-time log information to the file for persistent storage while transmitting the real-time log information through the buffer, and when the page is refreshed, the history log information is loaded preferentially and real-time websocket communication is performed, so that the integrity of the deployment log information is ensured.
As shown in fig. 2, the present invention also provides another method for deploying a container platform, including:
step 210, building a visualization page for deploying the container platform.
It will be appreciated that the method of deploying a container platform in this embodiment applies to a front-end device, i.e. the front-end device performs the method steps provided by the present invention.
The front-end equipment builds a visual page for deploying the container platform by using vue +html+js. The visualized page comprises: environmental inspection, parameter configuration preview, installation deployment, etc. The environment check page is used to add and visualize node preliminary information of the deployment container platform. The parameter configuration page is used for visualizing parameters which need to be adjusted by the deployment container platform so as to flexibly adjust. The parameter configuration preview page is a configuration parameter after visual rendering. The installation and deployment page is used for visualizing the process of deploying the container platform and monitoring the deployment progress. The relation of the pages is progressive, cross-page operation is not allowed, namely filling of the configuration parameters can be carried out after the environment inspection is passed, preview of the configuration parameters can be carried out after the configuration parameters are checked and the container platform can be installed and deployed without any problem.
And 220, adding node preliminary information based on the visual page, so as to send the node preliminary information to the back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment.
It can be understood that when node preliminary information is added to the visual page, the front-end device can realize front-end and back-end asynchronous communication through the ajax technology. After the back end receives the node preliminary information, the node preliminary information is analyzed, a configuration file which can be read by an analog is generated according to a template engine, and then the golang remotely calls cmd to execute the analog automation script and obtains the script execution result. Criteria for determining whether nodes are connected: whether an error message is returned.
Step 230, under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, node detailed information in json format is obtained, and the node detailed information is visually displayed for the operation of adding, deleting and checking the node detailed information.
It will be appreciated that the node will obtain node details if it is able to communicate. The node detailed information obtained by the back-end device executing the stable script through remote call cmd is data information in a complex json format, in this embodiment, the gjson plug-in the golang is used to analyze json format data, information such as a kernel, a hard disk, a network card, a memory and the like of the node is read, after the data is read, in order to enable the visual deployment application to be compatible with different environments, the embodiment is different from the traditional database storage, the data is stored in a file in the json format, and the functions of adding, deleting and modifying the data are realized for the file. After the data is stored, the information is sent to an environment inspection page at the front end for visual rendering, and various basic information of the node can be visually checked.
Step 240, acquiring input configuration parameter information, sending the configuration parameter information, the corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, acquiring a cluster configuration parameter file returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file.
It can be understood that, in order to flexibly configure parameters (i.e. configuration parameter information) when using an allowable to perform automatic deployment, so as to adapt to deployment requirements under different environments, in this embodiment, parameters are passed through a front-end parameter configuration page to be controlled, and data filled in the parameter configuration page is passed through a verification and then passed through a back-end program to be processed. The front end generates a unique identifier (uuid, universally Unique Identifier) when submitting the parameters, and synthesizes the uuid, the node data and the configuration parameter information into more complex json data to be transmitted to the back end for storage and processing. And the rear end analyzes json data transmitted by the front end into corresponding structure variables by utilizing gjson. The allowable configuration parameters consist of Group and Group parameters for which the golang backend program creates a template engine that conforms to the allowable configuration parameters. After the data are analyzed, the structure variables are rendered according to a template engine, and the configuration information file is stored in a corresponding position, wherein the file name is uuid. After rendering, the configuration file information is read, and the information is sent to a front-end configuration preview page for visual display. And finishing the parameter configuration.
Step 250, a deployment instruction is sent to the back-end equipment, so that the back-end equipment is controlled to execute the deployment operation of the container platform based on the configuration parameter information, and the real-time log information corresponding to the deployment process is received and visually displayed.
It can be understood that the front-end device sends a deployment instruction to the back-end device, and the golang back-end remotely executes an onsible command after receiving the instruction, loads configuration parameter information and runs an automated deployment script. Log information of the container platform deployment process is continuously output in the script running process.
In some embodiments, the sending the configuration parameter information and the unique identifier corresponding to the configuration parameter information, and the node detailed information to the backend device for parsing includes:
and synthesizing the configuration parameter information, the unique identifier corresponding to the configuration parameter information and the node detailed information into json-format comprehensive data, and sending the comprehensive data to the back-end equipment for analysis.
It may be understood that after acquiring data, the back end uses gjson to perform hierarchical search on the data, and acquires system information of the node, where the system information includes: information such as CPU core number, memory, system version, system architecture, network card and the like; secondly, after analyzing the data, converting the data into corresponding structural body variables for temporary storage; finally, the structure variables are persisted into the file in json format. When the node preliminary information is visualized, the file information is read, data is converted into json format and transmitted to the front end for visual display, and gjson is used for realizing the node information adding, deleting and checking operation.
In some embodiments, the method of deploying a container platform further comprises:
and acquiring deployment log progress information of the container platform returned by the back-end equipment, and displaying the deployment log information.
It is understood that the deployment log information includes deployment progress information. After the parameter configuration is completed, the container platform can be installed and deployed. The process of deploying the container platform comprises cluster initialization configuration, high-availability deployment, etcd deployment, k8s cluster deployment, basic plug-in installation, ceph cluster deployment and self-research application component deployment. To visualize the deployment progress, a deployment end-of-deployment flag, e.g. "k8s cluster deployment completed", is added at the end of each procedure in the stable-playbook.
After the rear end receives a deployment instruction sent by the front end, firstly, remotely calling cmd to execute an automatic deployment container platform operation by using the configuration parameter operation client-playbook command, and asynchronously using a coroutine; secondly, carrying out visualization display on log information generated by an existing table in the front end in real time by utilizing a cache and websocket, and storing the log information into a log file in a lasting manner. When the front end carries out websocket communication, real-time log information obtained through websocket is analyzed in json format and rendered on a web page for visualization, when a process deployment ending mark is obtained, the deployment progress is automatically updated on the page, and the deployment progress information is stored in a file in json format. The deployment progress information comprises a deployment progress, a deployment state and a unique identifier of a current deployment task, the deployment state is initialized to be a ready state when the program is initialized for the first time, and the deployment progress changes along with the change of the deployment progress. When refreshing a page, the front end firstly acquires historical log information and deployment progress information from the back end and visualizes the historical log information and the deployment progress information, and then performs websocket communication to acquire real-time deployment log information. When the deployment task stops, judging whether the container platform is successfully deployed according to the log information, and when the deployment is successful, updating the deployment progress to be successful, wherein the deployment progress can be updated to be successful, and clicking a corresponding button to jump to a cloud database platform main interface; when the deployment fails, the progress and the log of the failure are displayed on the visual interface, the deployment progress is updated to be failed, the deployment can be redeployed after the reset operation, and the information of the successful deployment progress is updated to be in an initialized state again.
In summary, according to the method for deploying the container platform, the front-end device performs node connectivity detection based on the node preliminary information sent by the visual page, so as to obtain a node connectivity detection result; under the condition that the back-end equipment determines that the corresponding nodes can be communicated based on the node connectivity detection result, the node detailed information is sent to the front-end equipment in json format; the method comprises the steps that a back-end device obtains configuration parameter information and a corresponding unique identifier thereof and node detailed information sent by a front-end device, analyzes and renders the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sends the cluster configuration parameter file to the front-end device for visual display, so that visual interaction of a deployment container platform is realized; and the back end executes the deployment operation of the container platform based on the configuration parameter information under the condition of receiving the deployment instruction sent by the front end equipment. In the whole process, a user can perform visual interaction with the back-end equipment through the front-end equipment, select corresponding nodes and corresponding configuration parameter information through the front-end equipment, complete the deployment operation of the container platform through the back-end equipment, and solve the technical problem that the setting parameters of the deployment container platform cannot be flexibly adjusted in the prior art through the selection of the nodes and the configuration parameter information in a visual mode.
Furthermore, the invention uses vue and golang to realize the data interaction of the front end and the back end, and can flexibly adjust while realizing the parameter visualization through json analysis and a template engine. By combining websocket, caching, coroutine and allowable technologies, the container platform deployment log information can be monitored in real time, and visual automatic deployment is realized. Based on the golang and the mode of storing data in files, the dependence of program operation on the environment can be reduced, so that the program can operate in various environments. The visual deployment container platform developed by the invention is simple to deploy and easy to use, and through a concise operation mode, the deployment container platform can be flexibly adjusted to adapt to parameters set by various scenes, the deployment process of the container platform is clearly monitored in real time, the operation and maintenance complexity of products can be reduced, the operation and maintenance efficiency is improved, and the visual deployment container platform has great value in actual production.
As shown in fig. 3, the present invention further provides an apparatus 300 for deploying a container platform, comprising:
the detection module 310 is configured to obtain node preliminary information sent by the front-end device based on the visual page, and perform node connectivity detection based on the node preliminary information, so as to obtain a node connectivity detection result;
A first processing module 320, configured to determine node detailed information based on the node preliminary information and send the node detailed information to the front-end device in json format, where it is determined that the corresponding node is communicable based on the node connectivity detection result;
the second processing module 330 is configured to obtain configuration parameter information and a unique identifier corresponding to the configuration parameter information, and the node detailed information, parse and render the configuration parameter information and the unique identifier corresponding to the node detailed information, obtain a cluster configuration parameter file, and send the cluster configuration parameter file to the front-end device for visual display;
the deployment module 340 is configured to execute a deployment operation of the container platform based on the configuration parameter information and push real-time log information corresponding to the deployment process to the front-end device when receiving a deployment instruction sent by the front-end device.
The apparatus 300 for deploying a container platform in this embodiment corresponds to the method for deploying a container platform applied to a backend device in the above embodiment, and is referred to each other.
As shown in fig. 4, the present invention also provides another apparatus 400 for deploying a container platform, comprising:
A building module 410 for building a visualization page for deploying the container platform;
the sending and receiving module 420 is configured to add node preliminary information based on the visualization page, so as to send the node preliminary information to a back-end device, and obtain a node connectivity detection result returned by the back-end device;
the first display module 430 is configured to obtain node detailed information in json format and visually display the node detailed information, where the node detailed information is determined to be communicable based on the node connectivity detection result, so as to be used for an operation of adding, deleting and checking the node detailed information;
the second display module 440 is configured to obtain input configuration parameter information, send the configuration parameter information and a unique identifier corresponding to the configuration parameter information, and the node detailed information to the back-end device for analysis and rendering, obtain a cluster configuration parameter file returned after the back-end device performs analysis and rendering, and visually display the cluster configuration parameter file;
the deployment module 450 is configured to send a deployment instruction to the backend device, so as to control the backend device to perform a deployment operation of the container platform based on the configuration parameter information, receive real-time log information corresponding to the deployment process, and perform visual display on the real-time log information.
The apparatus 400 for deploying a container platform in this embodiment corresponds to the method for deploying a container platform applied to a front-end device in the above embodiment, and is referred to each other.
The device for deploying a container platform provided in the foregoing embodiment may implement the technical solution described in the foregoing method embodiment for deploying a container platform, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing method embodiment for deploying a container platform, which is not described herein again.
As shown in fig. 5, the present invention further provides an electronic device 500 accordingly. The electronic device 500 comprises a processor 501, a memory 502 and a display 503. Fig. 5 shows only some of the components of the electronic device 500, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
The memory 502 may be an internal storage unit of the electronic device 500 in some embodiments, such as a hard disk or memory of the electronic device 500. The memory 502 may also be an external storage device of the electronic device 500 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 500.
Further, the memory 502 may also include both internal storage units and external storage devices of the electronic device 500. The memory 502 is used for storing application software and various types of data for installing the electronic device 500.
The processor 501 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 502, such as the method of deploying a container platform in accordance with the present invention.
The display 503 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. The display 503 is for displaying information at the electronic device 500 and for displaying a visual user interface. The components 501-503 of the electronic device 500 communicate with each other via a system bus.
In some embodiments of the present invention, when the processor 501 executes a program of the deployment container platform in the memory 502, the following steps may be implemented:
acquiring node preliminary information sent by front-end equipment based on a visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
Determining node detailed information based on the node preliminary information and transmitting the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
acquiring configuration parameter information and a corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the cluster configuration parameter file to the front-end equipment for visual display;
under the condition that a deployment instruction sent by the front-end equipment is received, based on the configuration parameter information, performing a deployment operation of a container platform, and pushing real-time log information corresponding to the deployment operation to the front-end equipment;
alternatively, it includes:
constructing a visual page for deploying the container platform;
adding node preliminary information based on the visual page, so as to send the node preliminary information to back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, node detailed information in json format is obtained, and the node detailed information is visually displayed for the operation of adding, deleting and checking the node detailed information;
The method comprises the steps of obtaining input configuration parameter information, sending the configuration parameter information, a corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, obtaining a cluster configuration parameter file returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
and sending a deployment instruction to the back-end equipment to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving real-time log information corresponding to the deployment process, and performing visual display on the real-time log information.
It should be understood that: the processor 501, when executing the programs of the deployment container platform in the memory 502, may implement other functions in addition to the above functions, and in particular reference may be made to the description of the corresponding method embodiments above.
Further, the type of the electronic device 500 is not particularly limited, and the electronic device 500 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (personal digitalassistant, PDA), a wearable device, a laptop (laptop), etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices that carry IOS, android, microsoft or other operating systems. The portable electronic device described above may also be other portable electronic devices, such as a laptop computer (laptop) or the like having a touch-sensitive surface, e.g. a touch panel. It should also be appreciated that in other embodiments of the invention, electronic device 500 may not be a portable electronic device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch panel).
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a method of deploying a container platform provided by the methods above, the method comprising:
acquiring node preliminary information sent by front-end equipment based on a visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
determining node detailed information based on the node preliminary information and transmitting the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
acquiring configuration parameter information and a corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the cluster configuration parameter file to the front-end equipment for visual display;
under the condition that a deployment instruction sent by the front-end equipment is received, based on the configuration parameter information, performing a deployment operation of a container platform, and pushing real-time log information corresponding to the deployment operation to the front-end equipment;
Alternatively, it includes:
constructing a visual page for deploying the container platform;
adding node preliminary information based on the visual page, so as to send the node preliminary information to back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, node detailed information in json format is obtained, and the node detailed information is visually displayed for the operation of adding, deleting and checking the node detailed information;
the method comprises the steps of obtaining input configuration parameter information, sending the configuration parameter information, a corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, obtaining cluster configuration parameter information returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
and sending a deployment instruction to the back-end equipment to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving real-time log information corresponding to the deployment process, and performing visual display on the real-time log information.
Those skilled in the art will appreciate that all or part of the flow of the methods of the embodiments described above may be accomplished by way of a computer program that instructs associated hardware, and that the program may be stored in a computer readable storage medium. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above method, apparatus and electronic device for deploying a container platform provided by the present invention are described in detail, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, where the above examples are only used to help understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (10)

1. A method of deploying a container platform, comprising:
acquiring node preliminary information sent by front-end equipment based on a visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
Determining node detailed information based on the node preliminary information and transmitting the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
acquiring configuration parameter information and a corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the cluster configuration parameter file to the front-end equipment for visual display;
and under the condition that a deployment instruction sent by the front-end equipment is received, based on the configuration parameter information, executing the deployment operation of the container platform, and pushing the real-time log information corresponding to the deployment operation to the front-end equipment.
2. The method for deploying a container platform according to claim 1, wherein the performing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result comprises:
performing data verification on the node preliminary information based on the node preliminary information received by a golang structural body, and rendering the golang structural body into a configuration file which can be identified by an onsible command after the verification is passed;
And remotely executing an allowable command based on the golang structural body to analyze the configuration file, so as to obtain the node connectivity detection result.
3. The method of deploying a container platform according to claim 1, wherein the determining node detailed information based on the node preliminary information in the case where it is determined that the corresponding node is communicable based on the node connectivity detection result comprises:
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, carrying out hierarchical retrieval on the node preliminary information to obtain system information of the node;
and after the system information of the node is converted into a corresponding golang structural body to be temporarily stored, the golang structural body stored with the system information of the node is stored into a corresponding file in a json format in a lasting mode, so that the detailed information of the node is obtained based on the file information stored with the golang structural body.
4. A method of deploying a container platform according to any one of claims 1-3, further comprising:
and sending the deployment log progress information of the container platform to the front-end equipment so as to display the deployment log information through the front-end equipment.
5. A method of deploying a container platform, comprising:
constructing a visual page for deploying the container platform;
adding node preliminary information based on the visual page, so as to send the node preliminary information to back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, node detailed information in json format is obtained, and the node detailed information is visually displayed for the operation of adding, deleting and checking the node detailed information;
the method comprises the steps of obtaining input configuration parameter information, sending the configuration parameter information, a corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, obtaining a cluster configuration parameter file returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
and sending a deployment instruction to the back-end equipment to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving real-time log information corresponding to the deployment process, and performing visual display on the real-time log information.
6. The method for deploying a container platform according to claim 5, wherein sending the configuration parameter information and the unique identifier corresponding to the configuration parameter information, and the node detailed information to the backend device for parsing comprises:
and synthesizing the configuration parameter information, the unique identifier corresponding to the configuration parameter information and the node detailed information into json-format comprehensive data, and sending the comprehensive data to the back-end equipment for analysis.
7. The method of deploying a container platform of claim 5 or 6, further comprising:
and acquiring deployment log progress information of the container platform returned by the back-end equipment, and displaying the deployment log information.
8. An apparatus for deploying a container platform, comprising:
the detection module is used for acquiring node preliminary information sent by the front-end equipment based on the visual page, and executing node connectivity detection based on the node preliminary information to obtain a node connectivity detection result;
the first processing module is used for determining node detailed information based on the node preliminary information and sending the node detailed information to the front-end equipment in json format under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result;
The second processing module is used for acquiring the configuration parameter information and the corresponding unique identifier thereof and the node detailed information sent by the front-end equipment, analyzing and rendering the configuration parameter information and the corresponding unique identifier thereof and the node detailed information to obtain a cluster configuration parameter file, and sending the cluster configuration parameter file to the front-end equipment for visual display;
the deployment module is used for executing the deployment operation of the container platform based on the configuration parameter information under the condition of receiving the deployment instruction sent by the front-end equipment and pushing the real-time log information corresponding to the deployment operation to the front-end equipment.
9. An apparatus for deploying a container platform, comprising:
the construction module is used for constructing a visual page for deploying the container platform;
the transmitting and receiving module is used for adding node preliminary information based on the visual page, transmitting the node preliminary information to the back-end equipment, and acquiring a node connectivity detection result returned by the back-end equipment;
the first display module is used for acquiring node detailed information in json format and visually displaying the node detailed information under the condition that the corresponding node is determined to be communicable based on the node connectivity detection result, so as to be used for adding, deleting and checking the node detailed information;
The second display module is used for acquiring the input configuration parameter information, sending the configuration parameter information, the corresponding unique identifier and the node detailed information to the back-end equipment for analysis and rendering, acquiring a cluster configuration parameter file returned after the back-end equipment analyzes and renders, and visually displaying the cluster configuration parameter file;
the deployment module is used for sending a deployment instruction to the back-end equipment so as to control the back-end equipment to execute the deployment operation of the container platform based on the configuration parameter information, receiving the real-time log information corresponding to the deployment process and carrying out visual display on the real-time log information.
10. An electronic device comprising a memory and a processor, wherein,
the memory is used for storing programs;
the processor is coupled to the memory for executing the program stored in the memory for implementing the steps in the method of deploying a container platform as claimed in any one of the preceding claims 1 to 4 or for implementing the steps in the method of deploying a container platform as claimed in any one of the preceding claims 5 to 7.
CN202310182586.7A 2023-02-27 2023-02-27 Method and device for deploying container platform and electronic equipment Pending CN116248526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310182586.7A CN116248526A (en) 2023-02-27 2023-02-27 Method and device for deploying container platform and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310182586.7A CN116248526A (en) 2023-02-27 2023-02-27 Method and device for deploying container platform and electronic equipment

Publications (1)

Publication Number Publication Date
CN116248526A true CN116248526A (en) 2023-06-09

Family

ID=86623873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310182586.7A Pending CN116248526A (en) 2023-02-27 2023-02-27 Method and device for deploying container platform and electronic equipment

Country Status (1)

Country Link
CN (1) CN116248526A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376194A (en) * 2023-12-06 2024-01-09 苏州元脑智能科技有限公司 Network detection method, system, electronic device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376194A (en) * 2023-12-06 2024-01-09 苏州元脑智能科技有限公司 Network detection method, system, electronic device and computer readable storage medium
CN117376194B (en) * 2023-12-06 2024-02-13 苏州元脑智能科技有限公司 Network detection method, system, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP7209034B2 (en) Edge computing test method, apparatus, equipment and readable storage medium
CN102265264A (en) Debugging pipeline
KR102488582B1 (en) Method and apparatus for verifying operation state of application
CN112494940B (en) User interface manufacturing method and device, storage medium and computer equipment
CN115454869A (en) Interface automation test method, device, equipment and storage medium
CN116248526A (en) Method and device for deploying container platform and electronic equipment
CN111459506A (en) Deployment method, device, medium and electronic equipment of deep learning platform cluster
CN113849399A (en) Automatic testing system and method for multi-machine cooperative software under multi-localization platform
CN113821433A (en) Method, device, equipment, medium and product for testing cloud mobile phone application program
CN109299124A (en) Method and apparatus for more new model
CN112416747A (en) Test case execution method, device, equipment and medium
CN115115062B (en) Machine learning model building method, related device and computer program product
CN112231231B (en) Cloud service debugging method, system and device
CN114741294A (en) Page debugging method, device, equipment and storage medium
JP2022008782A (en) Method and apparatus for constructing device debug environment
CN113079046A (en) Data access method and device, electronic equipment and medium
CN116627682B (en) Remote industrial information detection method and device based on shared memory
CN116594960B (en) Descriptive file format conversion method, descriptive file format conversion device, computer equipment and storage medium
CN117251250A (en) Container management method based on cloud native platform and related equipment
CN117724803A (en) Cloud service deployment method, device and platform
CN116467012A (en) Front-end service deployment method, system, computer equipment and storage medium
CN116307551A (en) Automatic bill conversion method and device, electronic equipment and storage medium
CN115617381A (en) Method, device, server, medium and product for generating continuous integration pipeline
CN117609065A (en) Code submitting method and device based on version control tool and electronic equipment
CN118152250A (en) Application programming interface test method, apparatus, device, medium and program product

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