CN111897623A - Cluster management method, device, equipment and storage medium - Google Patents

Cluster management method, device, equipment and storage medium Download PDF

Info

Publication number
CN111897623A
CN111897623A CN202010533191.3A CN202010533191A CN111897623A CN 111897623 A CN111897623 A CN 111897623A CN 202010533191 A CN202010533191 A CN 202010533191A CN 111897623 A CN111897623 A CN 111897623A
Authority
CN
China
Prior art keywords
service
kubecect
user
cluster
kubernets
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.)
Granted
Application number
CN202010533191.3A
Other languages
Chinese (zh)
Other versions
CN111897623B (en
Inventor
贾永鹏
马超
揭震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sina Technology China Co Ltd
Original Assignee
Sina Technology China 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 Sina Technology China Co Ltd filed Critical Sina Technology China Co Ltd
Priority to CN202010533191.3A priority Critical patent/CN111897623B/en
Publication of CN111897623A publication Critical patent/CN111897623A/en
Application granted granted Critical
Publication of CN111897623B publication Critical patent/CN111897623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/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
    • 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/45587Isolation or security of virtual machine instances
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a cluster management method, a device, equipment and a storage medium, which are used for managing a Kubernets cluster, wherein the method comprises the steps of receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser; and then downloading kubecect service corresponding to kubecect service version information to a container of the kubernets cluster according to the request, finally receiving a cluster management request sent by a user through a browser, and managing the kubernets cluster based on the cluster management request and the kubecect service. Therefore, according to the embodiment of the application, a user can manage the Kubernets cluster through the browser without logging in the corresponding main node, and can download the corresponding kubernets cluster through the kubernets service according to the user requirement, so that the problems that in the prior art, the user needs to log in the corresponding main node when using kubecectl to manage the Kubernets cluster, the operation is complex, the version of kubecectl is fixed, and the kubernets cluster can not be managed by selecting kubecectl of the corresponding version according to the user requirement are solved.

Description

Cluster management method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a cluster management method, apparatus, device, and storage medium.
Background
With the increasing development of container technology, kubernets is an open-source, container-based cluster management platform. The Kubernetes cluster includes a Master node (Master node) and a plurality of working nodes in communication with the Master node. The master node may manage and control a plurality of worker nodes. Each working node is deployed with a plurality of container groups Pod, and each container group is packaged with one or more containers for carrying software programs. In the prior art, a kubecect command line tool is the most common and direct tool for managing a kubernets cluster by a user, the tool must be installed on a main node of the kubernets cluster, and the user needs to log in the corresponding main node every time the user uses the tool.
In the process of implementing the present application, the applicant finds that at least the following problems exist in the prior art:
1. if a user manages a Kubernets cluster by using kubecect, the user must log in a corresponding main node first, and the operation is complicated and inconvenient.
2. The version of kubecectl is fixed, kubernets clusters cannot be managed by kubecectl of different versions according to user requirements, and flexibility is not achieved.
Disclosure of Invention
An object of the embodiments of the present application is to provide a cluster management method, apparatus, device and storage medium, so as to solve the problem in the prior art that using kubecenetes cluster management by kubecect is complicated in operation, inconvenient and inflexible.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in one aspect, an embodiment of the present application provides a cluster management method, configured to manage a kubernets cluster, where the method includes:
receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
downloading the kubecect service corresponding to the kubecect service version information to a container of the kubernets cluster according to the kubecect service creating request;
and receiving a cluster management request sent by the user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecect service.
On the other hand, an embodiment of the present application provides a cluster management apparatus, configured to manage a kubernets cluster, where the apparatus includes:
the request receiving module is used for receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
a service downloading module, configured to download, according to the kubecect service creation request, the kubecect service corresponding to the kubecect service version information to the container of the kubernets cluster;
and the cluster management module is used for receiving a cluster management request sent by the user through a browser and managing the Kubernets cluster based on the cluster management request and the kubecect service.
In another aspect, an embodiment of the present application provides a cluster management device, including: a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to carry out the steps of the cluster management method described above.
In another aspect, an embodiment of the present application provides a storage medium for storing computer-executable instructions, where the computer-executable instructions, when executed, implement the steps of the cluster management method described above.
The technical scheme of the embodiment of the application is used for managing the Kubernets cluster and comprises the steps of receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser; and then downloading the kubecectenes service corresponding to the kubecectenes service version information into a container of the kuberenetes cluster according to the kubecectenes service creation request, finally receiving a cluster management request sent by a user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecectenes service. Therefore, according to the embodiment of the application, when a user manages the Kubernets cluster, the Kubernets cluster can be managed through the browser, the corresponding main node does not need to be logged in, and the corresponding Kubernets cluster can be downloaded according to user requirements for managing Kubernets cluster, so that the problems that in the prior art, when the user manages the Kubernets cluster through kubecectl, the corresponding main node needs to be logged in, the operation is complex, the convenience is insufficient, the version of kubecectl is fixed, the Kubernets cluster of the corresponding version cannot be selected according to user requirements, and the Kubernets cluster is not flexible are solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of a cluster management method provided in an embodiment of the present application;
fig. 2 is a specific flowchart of a cluster management method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a module composition of a cluster management apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a cluster management device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a cluster management method, a cluster management device, cluster management equipment and a storage medium.
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For clarity of description of the cluster management method and apparatus provided in various embodiments of the present application, first, the english language to be referred to below is explained.
Kubernetes: the abbreviation K8s is an abbreviation resulting from 8 replacing 8 characters "ubernet". The method is an open-source platform and is used for managing containerized applications on a plurality of hosts in a cloud platform.
kubecect: kubernets cluster, through which the cluster itself can be managed and the installation and deployment of containerized applications can be performed on the cluster.
Deployment: the Deployment is Chinese translation, and the target state of the container group can be defined in the Deployment to change the actual state of the container group.
Fig. 1 is a schematic flowchart of a cluster management method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
step S102, receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
step S104, downloading kubecect service corresponding to kubecect service version information to a container of the Kubernets cluster according to the kubecect service creation request;
and step S106, receiving a cluster management request sent by a user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecect service.
The technical scheme of the embodiment of the application is used for managing the Kubernets cluster and comprises the steps of receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser; and then downloading the kubecectenes service corresponding to the kubecectenes service version information into a container of the kuberenetes cluster according to the kubecectenes service creation request, finally receiving a cluster management request sent by a user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecectenes service. Therefore, according to the embodiment of the application, when a user manages the Kubernets cluster, the Kubernets cluster can be managed through the browser, the corresponding main node does not need to be logged in, and the corresponding Kubernets cluster can be downloaded according to user requirements for managing Kubernets cluster, so that the problems that in the prior art, when the user manages the Kubernets cluster through kubecectl, the corresponding main node needs to be logged in, the operation is complex, the convenience is insufficient, the version of kubecectl is fixed, the Kubernets cluster of the corresponding version cannot be selected according to user requirements, and the Kubernets cluster is not flexible are solved.
In step S102, receiving a kubecect service creation request sent by a user through a browser includes:
receiving a kubecect service creation request sent by a user through clicking a creation control on a Kubernets cluster management page; wherein the Kubernetes cluster management page is displayed through a browser.
Specifically, a Kubernetes cluster management page is displayed on a browser, such as a World Wide Web browser, after a user clicks a creation control on the page, the browser sends a creation kubecect service request to a Master node of the Kubernetes cluster through a transmission protocol, and the Master node receives the request. A create control, such as a create service button, a transport protocol, such as the HTTP protocol.
In step S102, the kubecect service creation request carries the kubecect service version information input by the user through the browser.
Specifically, the user can input the kubecect service version information required by the user through the browser, and the kubecect service creation request sent by the browser carries the kubecect service version information input by the user through the browser. In a specific embodiment, a Kubernets cluster management page displayed by a browser is provided with a plurality of check boxes, a kubecectel service version represented by each check box is marked beside each check box, a user checks the check boxes to represent that the user needs kubecectel service of the version, the user clicks a kubecectel service creation button on the page after checking the check boxes, a kubecectel service creation request sent by the browser carries kubecectel service version information represented by the check boxes checked by the user, and the kubecectel service creation request carries the kubecectel service version information input by the user through the browser.
Further, after the step S102 is completed, before the step S104, that is, before downloading the kubecect service corresponding to the kubecect service version information into the container of the kubernets cluster according to the kubecect service creation request, the method further includes:
(a1) acquiring a user identifier of a user;
(a2) and judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user.
In the step (a1), after receiving the kubecenetes cluster Master node creation request sent by the user through the browser, the Master node may further obtain, through the browser, a user identifier of the user, where the user identifier is, for example, a user name used by the user to log in a Kubernetes cluster management page.
In the step (a2), after acquiring the user identifier of the user, the Master node of the Kubernetes cluster queries the right corresponding to the user identifier in the database, and determines whether the user has the right to create the kubecect service according to the right corresponding to the user identifier.
Further, if the Master node of the kubernets cluster determines that the user has the right to create the kubecectel service, step S104 is performed to download the kubecectel service corresponding to the kubecectel service version information to the container of the kubernets cluster. If it is determined that the user does not have the right to create the kubecect service, returning rejection information to the browser and not performing step S104, for example, displaying on a kubernets cluster management page: "creation of kubecect without permission".
In the step S104, downloading the kubecect service corresponding to the kubecect service version information to the container of the kubernets cluster according to the kubecect service creation request includes:
(b1) creating a Deployment according to the creation request of the kubecect service, and defining kubecect service version information in a container environment variable of the Deployment;
(b2) when a container group is started through the Deployment, reading kubecect service version information from a container environment variable of the Deployment, and downloading kubecect service corresponding to the kubecyte service version information to a container of a Kubernetes cluster.
In the step (b1), after determining that the user has the right to create the kubecenetes cluster, the Master node of the Kubernetes cluster starts to create a namespace, then creates a service account, binds the service account with the cluster role after creating the service account, and creates a Deployment as the controller of the container group after binding the cluster role. The construction content of the Deployment comprises that kubecect service version information is defined in a container environment variable, and the kubecect service version information is kubecect service version information input by a user through a browser. The specific implementation flow of step (b1) can be seen from the description of fig. 2 below.
In this embodiment, in the step (b2), reading the kubecect service version information from the container environment variable of the delivery, and downloading the kubecect service corresponding to the kubecect service version information to the container of the kubernets cluster includes:
(b2.1) extracting a specific script file from a previously acquired image file for starting the container group;
(b2.2) executing a specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecenetes cluster container.
In the step (b2.1), the kubernets cluster has a preset image file for starting the container group, and the image file contains a specific script file. When the Master node creates the Deployment, the construction content of the Deployment comprises the address of the image file, and the image file is pulled according to the address of the image file so as to extract the specific script file in the image file. In a specific embodiment, an image file of the kubernets cluster for starting the container group is stored in a Docker warehouse, where the Docker warehouse centrally stores the image file, and the image file is based on the following steps: 3.10 System creation.
In step (b2.2), when the container group in the delivery is started, a specific script file is executed, and the script file reads the container environment variable of the delivery to obtain the kubecect service version information input by the user through the browser, then accesses the download website corresponding to the kubecect service version set in the script, and downloads the binary file of the kubecect service version into the container of the delivery.
After the step S104 is completed, that is, after the kubutect service is created, the step S106 may be performed to receive a cluster management request sent by a user through a browser, and manage a kubernets cluster based on the cluster management request and the kubutect service.
In step S106, the receiving of the cluster management request sent by the user through the browser includes:
receiving a kubecect cluster management request sent by a user through clicking a management control on a Kubernets cluster management page; wherein the Kubernetes cluster management page is displayed through a browser.
Specifically, a Kubernetes cluster management page is displayed on the browser, after a user clicks a management control on the page, the browser sends a cluster management request to a Master node of the Kubernetes cluster through a transmission protocol, and the Master node receives and processes the request. The management control is, for example, a manage cluster button, and the cluster management request is, for example, a Web Socket request.
Further, in step S106, before managing the kubernets cluster based on the cluster management request and the kubecect service, the method further includes:
(c1) acquiring a user identifier of a user;
(c2) and judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user.
In the step (c1), after receiving the cluster management request sent by the user through the browser, the Master node may further obtain, through the browser, a user identifier of the user, where the user identifier is, for example, a user name used when the user logs in a kubernets cluster management page.
In the step (c2), after acquiring the user identifier of the user, the Master node queries the right corresponding to the user identifier in the database, and determines whether the user has the right to manage the kubernet cluster according to the right corresponding to the user identifier.
Further, if the Master node of the kubernets cluster determines that the user has the authority to manage the kubernets cluster, the management of the kubernets cluster may be performed based on the cluster management request and the kubecect service in step S106, and if it is determined that the user does not have the authority to manage the kubernets cluster, the reject information is returned to the browser and the next step is not performed, for example, the display on the kubernets cluster management page: "No permission to use kubecect".
In step S106, a kubernets cluster is managed based on the cluster management request and the kubecfect service, specifically, after the Master node determines that the user has the authority to manage the kubernets cluster, a TTY (TeleTYpe, virtual console, serial port, and pseudo terminal device) connection is established with a container in the container group, that is, a terminal connection with the container is established, after the TTY connection is established, the browser displays a page using the kubecutet service, and the user can operate on the page to manage the kubernets cluster, for example, a kubernets cluster executes a corresponding command by inputting a kubecfect command on the page, so that the user manages the kubernets cluster using the kubecutet service through the browser.
Further, when the user uses the kubecectl service to manage the kubernets cluster, the method provided in this embodiment further includes:
(d1) acquiring behavior data which is executed by a user and is related to management of a Kubernetes cluster;
(d2) and storing the behavior data into a database, wherein the behavior data is used for auditing the user.
Specifically, in step (d1), the Master node may obtain, through a connection established with the browser, for example, a Web Socket connection, a behavior data flow generated when the user manages the kubernets cluster through the browser using a kubecect service.
In the step (d2), after acquiring the behavior data stream, the Master node copies and formats the behavior data stream, and stores the formatted data into a database for viewing data records of a user management Kubernetes cluster and auditing the user.
In a specific embodiment, fig. 2 is a specific flowchart of a cluster management method provided in an embodiment of the present application.
As shown in fig. 2, the kubernets cluster includes a Master Node and a work Node, the Master Node includes a user right control module, a logic processing module, a kubernets API (Application programming interface), a king namespace, a king service account, a cluster role "cluster-admin", a mirror image file king-kubutect for starting a container group, a user behavior auditing module, and a database, and the work Node includes a Deployment, a container group Pod, a container, a kubutect service, and a specific script file king-kubutect.
As shown in fig. 2, after the user clicks the create service button, the Web browser sends a create kubecect service request to the user permission control module, where the request carries kubecect service version information input by the user, and after receiving the request, the user permission control module queries the database and determines whether the user has permission to create kubecect service according to the user identifier, if so, the request is delivered to the logic processing module, and if not, the "no permission to create kubecect" is returned to the browser. After receiving and processing the request for creating the kubutect service, the logic processing module sends a request for creating a namespace to the kubernets API, after receiving the request, the kubernets API creates a namespace, the name of the namespace can be preset, for example, king, all the created resources are under the namespace, and the namespace can be used for resource isolation of the kubutect service. After the king namespace is created, the kubernets API can then create a service account named king, after the service account king is created, the logic processing module binds the service account king with a cluster role "cluster-admin" preset by the kubernets, so that the service account king has all the rights of the cluster role cluster-admin, for example, the rights of viewing containers, editing containers and the like in the kubernets cluster. After the cluster role binding is established, the Kubernets API establishes the Deployment, and the construction content of the Deployment comprises the following steps:
(1) the name of the Deployment, which is preset;
(2) the namespace of the Deployment is the created king namespace;
(3) the container group Pod of the Deployment uses the service account, i.e. the container group uses the created king service account, so that the container group Pod of the Deployment has all rights of the cluster role "cluster-admin".
(4) The name of the container in the Pod, which is preset;
(5) the mirror image file address used for starting the container, this file is set up in advance;
(6) the environment variable of the container defines the kubecect service version information;
(7) the lifecycle management command of the Pod, which is executed to execute a specific script file king-kubutect.
In this way, when the container group in the Deployment is started, the script is executed, the script reads the environment variable of the container in the Deployment, acquires the kubecect service version information input by the user, and then accesses the corresponding website in the internet and downloads the kubecect binary file into the container.
After the Deployment is completed, the Web browser sends a WebSocket request to a user authority control module according to the operation of clicking a cluster management button by a user, after the user authority control module receives the request, a database is inquired, whether the user has authority to manage a Kubernet cluster is judged according to user identification, if the user has the authority, the request is transmitted to a logic processing module, if the user does not have the authority to use kubecect, the logic processing module returns no authority to use kubecect to the browser, after receiving and processing the request, the TTY connection is established between the browser used by the user and a Pod in a container group Pod through a Kubernet API, after the connection is established, the browser displays a page using kubecect service, and the user can input a kubecect command line on the page to manage the Kubernet cluster. The logic processing module can copy a Web Socket data stream generated by managing a Kubernetes cluster on the page by a user and transmit the copy to the user behavior auditing module, and the user auditing module uniformly stores the data processed in a database for the user to audit in the future.
In summary, it can be seen that the present embodiment has the following beneficial effects:
(1) the Kubernetes cluster can be managed by using the kubecect service through one key of the Web browser without logging in a Master node of the Kubernetes cluster, and the operation is simple and convenient.
(2) The kubecect service of different versions can be downloaded according to the requirements of users, and the kubecect service of multiple versions is supported, so that the method is more flexible.
(3) The authority control of the user can be realized, and the safety of creating the kubecectl service and managing the Kubernets cluster is ensured.
(4) The operation of managing the Kubernetes cluster by the user is recorded in the database, so that the user behavior audit in the future is facilitated.
(5) By adopting the Deployment mode of the Deployment, if the server deployed by the container fails, the server can be automatically migrated to other servers, so that the normal running state of the container is ensured.
In summary, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
Based on the same idea, the foregoing method for cluster management provided in this embodiment of the present application further provides a cluster management device for managing a kubernets cluster, and fig. 3 is a schematic diagram of module composition of the cluster management device provided in this embodiment of the present application, and as shown in fig. 3, the device includes:
a request receiving module 31, configured to receive a kubecect service creation request sent by a user through a browser, where the kubecect service creation request carries kubecect service version information input by the user through the browser;
a service downloading module 32, configured to download, according to the kubecect service creation request, the kubecect service corresponding to the kubecect service version information to the container of the kubernets cluster;
and the cluster management module 33 is configured to receive a cluster management request sent by the user through a browser, and manage the kubernets cluster based on the cluster management request and the kubecect service. .
Optionally, the service downloading module 32 is specifically configured to:
creating a Deployment according to the creation request of the kubecect service, and defining version information of the kubecect service in a container environment variable of the Deployment;
when the container group is started through the Deployment, reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the service downloading module 32 is further specifically configured to:
extracting a specific script file from a pre-acquired mirror image file for starting a container group;
and executing the specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the apparatus further includes a first determining module, configured to:
before the service downloading module downloads the kubecect service corresponding to the kubecect service version information into the container of the kubernets cluster according to the kubecect service creating request, acquiring a user identifier of the user; judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user; and if the user is judged to have the authority of creating the kubecect service, triggering the service downloading module.
Optionally, the apparatus further includes a second determining module, configured to:
acquiring a user identifier of the user before the cluster management module manages the Kubernets cluster based on the cluster management request and the kubecect service; judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user; and if the user is judged to have the authority of managing the Kubernet cluster, triggering the cluster management module.
Optionally, the apparatus further comprises an auditing module configured to:
acquiring behavior data which is executed by the user and is related to management of the Kubernets cluster;
and storing the behavior data to a database, wherein the behavior data is used for auditing the user.
Optionally, the request receiving module 31 is specifically configured to:
receiving a kubecect service creation request sent by clicking a creation control on a Kubernets cluster management page by the user; the Kubernetes cluster management page is displayed through a browser;
the cluster management module 33 is specifically configured to:
receiving a cluster management request sent by the user by clicking a management control on a Kubernetes cluster management page; and the Kubernetes cluster management page is displayed through a browser.
The technical scheme of the embodiment of the application is used for managing the Kubernets cluster and comprises the steps of receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser; and then downloading the kubecectenes service corresponding to the kubecectenes service version information into a container of the kuberenetes cluster according to the kubecectenes service creation request, finally receiving a cluster management request sent by a user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecectenes service. Therefore, according to the embodiment of the application, when a user manages the Kubernets cluster, the Kubernets cluster can be managed through the browser, the corresponding main node does not need to be logged in, and the corresponding Kubernets cluster can be downloaded according to user requirements for managing Kubernets cluster, so that the problems that in the prior art, when the user manages the Kubernets cluster through kubecectl, the corresponding main node needs to be logged in, the operation is complex, the convenience is insufficient, the version of kubecectl is fixed, the Kubernets cluster of the corresponding version cannot be selected according to user requirements, and the Kubernets cluster is not flexible are solved.
It should be understood by those skilled in the art that the cluster management apparatus in fig. 3 can be used to implement the cluster management method described above, and the detailed description thereof should be similar to that of the foregoing method, and is not repeated herein to avoid complexity.
Based on the same idea, an embodiment of the present application further provides a cluster management device, and fig. 4 is a schematic structural diagram of the cluster management device provided in the embodiment of the present application. As shown in fig. 4. The cluster management device may have a large difference due to different configurations or performances, and may include one or more processors 401 and a memory 402, where the memory 402 may store one or more storage applications or data. Wherein memory 402 may be transient or persistent. The application program stored in memory 402 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a cluster management appliance. Still further, processor 401 may be configured to communicate with memory 402 to execute a series of computer-executable instructions in memory 402 on a cluster management device. The cluster management apparatus may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input-output interfaces 405, and one or more keyboards 406.
In particular, in this embodiment, the cluster management device includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the cluster management device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
downloading the kubecect service corresponding to the kubecect service version information to a container of the kubernets cluster according to the kubecect service creating request;
and receiving a cluster management request sent by the user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecect service.
Optionally, the computer executable instructions, when executed by the processor, download, according to the kubecect service creation request, a kubecect service corresponding to the kubecect service version information into the container of the kubernets cluster, including:
creating a Deployment according to the creation request of the kubecect service, and defining version information of the kubecect service in a container environment variable of the Deployment;
when the container group is started through the Deployment, reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the computer executable instructions, when executed by the processor, read the kubecect service version information from the container environment variable of the Deployment, and download the kubecect service corresponding to the kubecytes service version information to the container of the kubernets cluster, includes:
extracting a specific script file from a pre-acquired mirror image file for starting a container group;
and executing the specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the computer executable instructions, when executed by the processor, before downloading, according to the kubecect service creation request, a kubecect service corresponding to the kubecect service version information into a container of the kubernets cluster, further include:
acquiring a user identifier of the user; judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user; and are
Determining that the user has the right to create the kubecect service.
Optionally, the computer executable instructions, when executed by the processor, further comprise, prior to managing the kubernets cluster based on the cluster management request and the kubecect service:
acquiring a user identifier of the user; judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user; and are
And judging that the user has the authority of managing the Kubernet cluster.
Optionally, the computer executable instructions, when executed by the processor, further comprise:
acquiring behavior data which is executed by the user and is related to management of the Kubernets cluster;
and storing the behavior data to a database, wherein the behavior data is used for auditing the user.
Optionally, the computer executable instructions, when executed by the processor, receive a kubecect service creation request sent by a user through a browser, including:
receiving a kubecect service creation request sent by clicking a creation control on a Kubernets cluster management page by the user; the Kubernetes cluster management page is displayed through a browser;
receiving a cluster management request sent by the user through a browser, wherein the cluster management request comprises:
receiving a kubecect service creation request sent by clicking a management control on a Kubernets cluster management page by the user; and the Kubernetes cluster management page is displayed through a browser.
The technical scheme of the embodiment of the application is used for managing the Kubernets cluster and comprises the steps of receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser; and then downloading the kubecectenes service corresponding to the kubecectenes service version information into a container of the kuberenetes cluster according to the kubecectenes service creation request, finally receiving a cluster management request sent by a user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecectenes service. Therefore, according to the embodiment of the application, when a user manages the Kubernets cluster, the Kubernets cluster can be managed through the browser, the corresponding main node does not need to be logged in, and the corresponding Kubernets cluster can be downloaded according to user requirements for managing Kubernets cluster, so that the problems that in the prior art, when the user manages the Kubernets cluster through kubecectl, the corresponding main node needs to be logged in, the operation is complex, the convenience is insufficient, the version of kubecectl is fixed, the Kubernets cluster of the corresponding version cannot be selected according to user requirements, and the Kubernets cluster is not flexible are solved.
It should be understood by those skilled in the art that the cluster management device in this embodiment can be used to implement the foregoing cluster management method, and the detailed description thereof should be similar to that of the foregoing method, and is not repeated herein to avoid complexity.
An embodiment of the present application further provides a computer-readable storage medium, which is used to store computer-executable instructions, and when executed by a processor, the computer-executable instructions implement the following processes:
receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
downloading the kubecect service corresponding to the kubecect service version information to a container of the kubernets cluster according to the kubecect service creating request;
and receiving a cluster management request sent by the user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecect service.
Optionally, the computer executable instructions, when executed by a processor, download, according to the kubecect service creation request, a kubecect service corresponding to the kubecect service version information into a container of the kubernets cluster, including:
creating a Deployment according to the creation request of the kubecect service, and defining version information of the kubecect service in a container environment variable of the Deployment;
when the container group is started through the Deployment, reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the computer executable instructions, when executed by a processor, read the kubecect service version information from the container environment variable of the Deployment, and download the kubecect service corresponding to the kubecytes service version information into the container of the kubernets cluster, includes:
extracting a specific script file from a pre-acquired mirror image file for starting a container group;
and executing the specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
Optionally, the computer executable instructions, when executed by a processor,
before downloading the kubecect service corresponding to the kubecect service version information into the container of the kubernets cluster according to the kubecect service creation request, the method further includes:
acquiring a user identifier of the user; judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user; and are
Determining that the user has the right to create the kubecect service.
Optionally, the computer executable instructions, when executed by a processor, further comprise, prior to managing the kubernets cluster based on the cluster management request and the kubecect service:
acquiring a user identifier of the user; judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user; and are
And judging that the user has the authority of managing the Kubernet cluster.
Optionally, the computer executable instructions, when executed by the processor, further comprise:
acquiring behavior data which is executed by the user and is related to management of the Kubernets cluster;
and storing the behavior data to a database, wherein the behavior data is used for auditing the user.
Optionally, the computer executable instructions, when executed by the processor, receive a kubecect service creation request sent by a user through a browser, including:
receiving a kubecect service creation request sent by clicking a creation control on a Kubernets cluster management page by the user; the Kubernetes cluster management page is displayed through a browser;
receiving a cluster management request sent by the user through a browser, wherein the cluster management request comprises:
receiving a kubecect service creation request sent by clicking a management control on a Kubernets cluster management page by the user; and the Kubernetes cluster management page is displayed through a browser.
It should be understood by those skilled in the art that the computer readable storage medium in the present embodiment can be used to implement the foregoing cluster management method, and the detailed description thereof should be similar to that of the foregoing method, and therefore, in order to avoid complexity, no further description is provided herein.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The use of the phrase "including a" does not exclude the presence of other, identical elements in the process, method, article, or apparatus that comprises the same element, whether or not the same element is present in all of the same element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (16)

1. A cluster management method for managing a kubernets cluster, the method comprising:
receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
downloading the kubecect service corresponding to the kubecect service version information to a container of the kubernets cluster according to the kubecect service creating request;
and receiving a cluster management request sent by the user through a browser, and managing the Kubernetes cluster based on the cluster management request and the kubecect service.
2. The method of claim 1, wherein downloading the kubecect service corresponding to the kubecect service version information into the kubernets cluster container in accordance with the kubecect service creation request comprises:
creating a Deployment according to the creation request of the kubecect service, and defining version information of the kubecect service in a container environment variable of the Deployment;
when the container group is started through the Deployment, reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
3. The method of claim 2, wherein reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information into the container of the kubernets cluster comprises:
extracting a specific script file from a pre-acquired mirror image file for starting a container group;
and executing the specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
4. The method of claim 1, further comprising, prior to downloading a kubecect service corresponding to the kubecect service version information into a container of the kubernets cluster according to the kubecect service creation request:
acquiring a user identifier of the user; judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user; and are
Determining that the user has the right to create the kubecect service.
5. The method of claim 1, further comprising, prior to managing the kubernets cluster based on the cluster management request and the kubecect service:
acquiring a user identifier of the user; judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user; and are
And judging that the user has the authority of managing the Kubernet cluster.
6. The method of any one of claims 1-5, further comprising:
acquiring behavior data which is executed by the user and is related to management of the Kubernets cluster;
and storing the behavior data to a database, wherein the behavior data is used for auditing the user.
7. The method according to any one of claims 1 to 5,
receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request comprises the following steps:
receiving a kubecect service creation request sent by clicking a creation control on a Kubernets cluster management page by the user; the Kubernetes cluster management page is displayed through a browser;
receiving a cluster management request sent by the user through a browser, wherein the cluster management request comprises:
receiving a kubecect service creation request sent by clicking a management control on a Kubernets cluster management page by the user; and the Kubernetes cluster management page is displayed through a browser.
8. A cluster management apparatus for managing a kubernets cluster, the apparatus comprising:
the request receiving module is used for receiving a kubecect service creation request sent by a user through a browser, wherein the kubecect service creation request carries kubecect service version information input by the user through the browser;
a service downloading module, configured to download, according to the kubecect service creation request, the kubecect service corresponding to the kubecect service version information to the container of the kubernets cluster;
and the cluster management module is used for receiving a cluster management request sent by the user through a browser and managing the Kubernets cluster based on the cluster management request and the kubecect service.
9. The apparatus of claim 8, wherein the service download module is specifically configured to:
creating a Deployment according to the creation request of the kubecect service, and defining version information of the kubecect service in a container environment variable of the Deployment;
when the container group is started through the Deployment, reading the kubecect service version information from the container environment variable of the Deployment, and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
10. The apparatus of claim 9, wherein the service download module is further specifically configured to:
extracting a specific script file from a pre-acquired mirror image file for starting a container group;
and executing the specific script file, wherein the specific script file is used for reading the kubecect service version information from the container environment variable of the Deployment and downloading the kubecect service corresponding to the kubecytes service version information to the container of the Kubernets cluster.
11. The apparatus of claim 8, further comprising a first determining module configured to:
before the service downloading module downloads the kubecect service corresponding to the kubecect service version information into the container of the kubernets cluster according to the kubecect service creating request, acquiring a user identifier of the user; judging whether the user has the authority of creating the kubecect service or not according to the user identification of the user; and if the user is judged to have the authority of creating the kubecect service, triggering the service downloading module.
12. The apparatus of claim 8, further comprising a second determining module configured to:
acquiring a user identifier of the user before the cluster management module manages the Kubernets cluster based on the cluster management request and the kubecect service; judging whether the user has the authority of managing the Kubernetes cluster or not according to the user identification of the user; and if the user is judged to have the authority of managing the Kubernet cluster, triggering the cluster management module.
13. The apparatus of any of claims 8-12, further comprising an audit module to:
acquiring behavior data which is executed by the user and is related to management of the Kubernets cluster;
and storing the behavior data to a database, wherein the behavior data is used for auditing the user.
14. The apparatus according to any one of claims 8 to 12, wherein the request receiving module is specifically configured to:
receiving a kubecect service creation request sent by clicking a creation control on a Kubernets cluster management page by the user; the Kubernetes cluster management page is displayed through a browser;
the cluster management module is specifically configured to:
receiving a cluster management request sent by the user by clicking a management control on a Kubernetes cluster management page; and the Kubernetes cluster management page is displayed through a browser.
15. A cluster management device, comprising:
a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to carry out the steps of the cluster management method of any of claims 1 to 7 above.
16. A storage medium storing computer executable instructions which, when executed, implement the steps of the cluster management method of any preceding claim 1 to 7.
CN202010533191.3A 2020-06-11 2020-06-11 Cluster management method, device, equipment and storage medium Active CN111897623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010533191.3A CN111897623B (en) 2020-06-11 2020-06-11 Cluster management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010533191.3A CN111897623B (en) 2020-06-11 2020-06-11 Cluster management method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111897623A true CN111897623A (en) 2020-11-06
CN111897623B CN111897623B (en) 2024-04-19

Family

ID=73206269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010533191.3A Active CN111897623B (en) 2020-06-11 2020-06-11 Cluster management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111897623B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383613A (en) * 2020-11-11 2021-02-19 杭州飞致云信息科技有限公司 Management method and device of container cluster system
CN112527459A (en) * 2020-12-16 2021-03-19 新浪网技术(中国)有限公司 Log analysis method and device based on Kubernetes cluster
CN113986371A (en) * 2021-09-30 2022-01-28 浪潮云信息技术股份公司 A way to restart Kubernetes Pods
CN114051029A (en) * 2021-11-10 2022-02-15 北京百度网讯科技有限公司 Authorization method, authorization device, electronic equipment and storage medium
CN115242526A (en) * 2022-07-26 2022-10-25 明阳产业技术研究院(沈阳)有限公司 Login method and device of Kubernetes cluster management panel
CN115396441A (en) * 2022-08-25 2022-11-25 税友信息技术有限公司 A kind of Kubernetes multi-cluster management method, device, equipment, storage medium
CN115580645A (en) * 2022-11-10 2023-01-06 北京青云科技股份有限公司 Service switching method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850621A (en) * 2017-02-07 2017-06-13 南京云创大数据科技股份有限公司 A kind of method based on container cloud fast construction Hadoop clusters
CN109525624A (en) * 2017-09-20 2019-03-26 腾讯科技(深圳)有限公司 A kind of container login method, device and storage medium
CN110958256A (en) * 2019-12-06 2020-04-03 无锡华云数据技术服务有限公司 Cluster management method and management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850621A (en) * 2017-02-07 2017-06-13 南京云创大数据科技股份有限公司 A kind of method based on container cloud fast construction Hadoop clusters
CN109525624A (en) * 2017-09-20 2019-03-26 腾讯科技(深圳)有限公司 A kind of container login method, device and storage medium
US20200026545A1 (en) * 2017-09-20 2020-01-23 Tencent Technology (Shenzhen) Company Limited Container login method, apparatus, and storage medium
CN110958256A (en) * 2019-12-06 2020-04-03 无锡华云数据技术服务有限公司 Cluster management method and management system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383613A (en) * 2020-11-11 2021-02-19 杭州飞致云信息科技有限公司 Management method and device of container cluster system
CN112383613B (en) * 2020-11-11 2023-05-12 杭州飞致云信息科技有限公司 Method and device for managing container cluster system
CN112527459A (en) * 2020-12-16 2021-03-19 新浪网技术(中国)有限公司 Log analysis method and device based on Kubernetes cluster
CN112527459B (en) * 2020-12-16 2024-03-26 新浪技术(中国)有限公司 Log analysis method and device based on Kubernetes cluster
CN113986371A (en) * 2021-09-30 2022-01-28 浪潮云信息技术股份公司 A way to restart Kubernetes Pods
CN114051029A (en) * 2021-11-10 2022-02-15 北京百度网讯科技有限公司 Authorization method, authorization device, electronic equipment and storage medium
CN115242526A (en) * 2022-07-26 2022-10-25 明阳产业技术研究院(沈阳)有限公司 Login method and device of Kubernetes cluster management panel
CN115396441A (en) * 2022-08-25 2022-11-25 税友信息技术有限公司 A kind of Kubernetes multi-cluster management method, device, equipment, storage medium
CN115580645A (en) * 2022-11-10 2023-01-06 北京青云科技股份有限公司 Service switching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111897623B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN111897623A (en) Cluster management method, device, equipment and storage medium
CN107967159B (en) Method for configuring file application and server
US11474842B2 (en) Integration application creator design
CN111399840B (en) Module development method and device
CN106897053B (en) Code publishing method and device
US20200159622A1 (en) Rule based failure addressing
CN106294113B (en) creation method and device based on programmable test service
CN110083366B (en) Application running environment generation method and device, computing equipment and storage medium
CN111651219A (en) Method and equipment for managing multi-module project configuration file
CN113835827A (en) Application deployment method, device and electronic device based on container Docker
CN113077260A (en) Data access method and device based on block chain and electronic equipment
CN113312083A (en) Application generation method, device and equipment
CN111857736A (en) Cloud computing product generation method, device, equipment and storage medium
US20200274758A1 (en) Provisioning hybrid cloud resources in an operating environment
CN110502251B (en) Application installation method and device
CN116303309A (en) File mounting method and device and electronic equipment
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
US11556499B2 (en) Container image migration service
CN115237459A (en) Software development kit generation method, device, equipment, storage medium and product
CN111026502B (en) Business debugging architecture creating method and device, electronic equipment and storage medium
CN110673827A (en) Resource calling method and device based on android system and electronic equipment
CN116910336A (en) Dynamic encrypted data acquisition method, system, computer equipment and storage medium
CN116467049A (en) Method, device, system, equipment and medium for constructing micro-service container mirror image
US11163622B1 (en) Web application implementing a shared set of identifiers for handling links to web application plugins
CN110968888B (en) Data processing method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20230317

Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Applicant after: Sina Technology (China) Co.,Ltd.

Address before: 100193 7th floor, scientific research building, Sina headquarters, plot n-1, n-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Applicant before: Sina.com Technology (China) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant