CN113835834A - K8S container cluster-based computing node capacity expansion method and system - Google Patents

K8S container cluster-based computing node capacity expansion method and system Download PDF

Info

Publication number
CN113835834A
CN113835834A CN202111060558.5A CN202111060558A CN113835834A CN 113835834 A CN113835834 A CN 113835834A CN 202111060558 A CN202111060558 A CN 202111060558A CN 113835834 A CN113835834 A CN 113835834A
Authority
CN
China
Prior art keywords
container cluster
capacity expansion
computing node
cluster
container
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
CN202111060558.5A
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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202111060558.5A priority Critical patent/CN113835834A/en
Publication of CN113835834A publication Critical patent/CN113835834A/en
Pending legal-status Critical Current

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/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of servers, and provides a capacity expansion method and a system based on K8S container cluster computing nodes, wherein the method comprises the following steps: establishing initial base resources of a K8S container cluster while the K8S container cluster works normally; judging whether the initial basic resource establishment is completed; when the creation is completed, controlling to automatically install the K8S container cluster and create the residual basic resources of the K8S container cluster; after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed, controlling the registration of the computing nodes of the K8S container cluster; judging whether the registration of the computing node is completed, if so, determining that the capacity expansion of the K8S container cluster is successful, otherwise, determining that the capacity expansion is failed; and when the initial basic resource creation is judged to be failed, determining that the capacity expansion is failed and ending, thereby realizing the automatic capacity expansion of the K8S container cluster without influencing the normal work of the K8S container cluster.

Description

K8S container cluster-based computing node capacity expansion method and system
Technical Field
The invention belongs to the technical field of servers, and particularly relates to a K8S container cluster-based computing node capacity expansion method and system.
Background
Kubernetes is an open-source container-based cluster management platform, aims to realize simple and efficient application of container deployment, and provides a mechanism for application deployment, planning, updating and maintenance, which is called K8S for short. A K8S system, commonly referred to as a K8S Cluster (Cluster), is mainly composed of two parts: a plurality of Master nodes (host nodes), and a group of Node nodes (computing nodes). The K8S cluster is a containerized management system, which is a collection of cloud resources required for the container to run. The system consists of a plurality of working nodes (cloud hosts or physical machines), load balancing, networks and other resources, and provides abundant and diverse functions of resource scheduling, deployment operation, service discovery, Node expansion, Node contraction and the like for containerized application. Pod refers to the application load in the K8S cluster, Pod running on a node. A Pod consists of one or more containers that share container storage, network, and container operation configuration items. Containers in a Pod are always scheduled simultaneously, with a common operating environment, where:
the Master node is mainly responsible for management and control, and comprises an API Server, a Scheduler, a Controller manager and an ETCD. The API Server is an external interface of the whole system, is called by a client and other components, and is equivalent to a business hall. The Scheduler is responsible for scheduling resources within the cluster, monitoring newly created Pod not assigned to a node, and selecting a node for their operation, i.e. scheduling of Pod. The Controller manager is responsible for managing the Controller, which is equivalent to the "big house steward". The ETCD is a default storage system provided by K8S, all cluster data are stored, and a backup plan needs to be provided for the ETCD data when the ETCD is used;
the Node nodes are nodes which really run workload, the Node nodes run Pod distributed by the Master, and when a certain Node goes down, the Pod on the Node can be automatically transferred to other Node nodes. Each Node is provided with Node components including Kubelet, Kube-proxy and the like. The Kubelet can monitor the Pod allocated to the Node, is responsible for the life cycle management of the Pod, and is in close cooperation with the Master to maintain and manage all containers on the Node, so that the basic function of cluster management is realized. The Kube-proxy is primarily responsible for providing a proxy for Pod objects.
The K8S container clustering is completed, and in the using process, the condition that the capacity is too small to meet the new service requirement exists, and at the moment, the expansion of the cluster Node is the simplest and most convenient mode. The original capacity expansion mode of the Node of the container cluster is that resources such as a cloud host, a cloud hard disk and the like are manually created, after the resources are successfully created, the cloud hard disk is mounted to the cloud host, then the cloud host successfully created manually is associated to the container cluster by executing a script command, and finally related parameters are manually configured to realize the capacity expansion of the cluster; during a series of operations, some functions in the container cluster need to be suspended; if the cloud host and the cloud hard disk are failed to be established, the cloud host and the cloud hard disk are required to be deleted manually, manual intervention is required in the operation, and automatic capacity expansion and cleaning of the left data resources cannot be achieved.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a capacity expansion method based on a K8S container cluster computing node, and aims to solve the problems that in the prior art, the capacity expansion of a K8S container cluster needs to be completed manually, the operation is inconvenient, the efficiency is low, and meanwhile, the related functions of the container cluster need to be suspended in the capacity expansion process.
The technical scheme provided by the invention is as follows: a capacity expansion method based on K8S container cluster computing nodes comprises the following steps:
according to the capacity expansion demand information of the K8S container cluster computing node of the user, when the K8S container cluster works normally, the initial basic resource of the K8S container cluster is created;
judging whether the initial base resource creation of the K8S container cluster is completed;
when the initial basic resource creation of the K8S container cluster is judged to be completed, controlling to automatically install the K8S container cluster and create the residual basic resources of the K8S container cluster;
after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed, controlling the registration of the computing nodes of the K8S container cluster;
judging whether the registration of the computing node is completed, if so, determining that the capacity expansion of the K8S container cluster is successful, otherwise, determining that the capacity expansion of the K8S container cluster is failed;
when the initial base resource creation of the K8S container cluster is judged to fail, the K8S container cluster is determined to fail in capacity expansion, and the method is ended.
Another object of the present invention is to provide a capacity expansion system based on K8S container cluster computing nodes based on a capacity expansion method based on K8S container cluster computing nodes, the system including:
the initial basic resource creating module is used for creating initial basic resources of the K8S container cluster while the K8S container cluster works normally according to the capacity expansion demand information of the K8S container cluster computing node of the user;
the initial basic resource creation judging module is used for judging whether the initial basic resource creation of the K8S container cluster is completed or not;
the installation control module is used for controlling the automatic installation of the K8S container cluster and the creation of the residual basic resources of the K8S container cluster when the initial basic resource creation of the K8S container cluster is judged to be completed;
the computing node registration module is used for controlling the registration of the computing nodes of the K8S container cluster after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed;
the computing node registration judging module is used for judging whether the registration of the computing node is finished or not;
a successful expansion determining module, configured to determine that the K8S container cluster is successfully expanded when the computing node registration determining module determines that registration of the computing node is completed;
and the capacity expansion failure determining module is used for determining that the capacity expansion of the K8S container cluster fails when the initial basic resource creation of the K8S container cluster is judged to fail or the registration of the computing node is judged to fail by the computing node registration judging module, and ending.
In the embodiment of the invention, according to the capacity expansion demand information of the computing node of the K8S container cluster of a user, when the K8S container cluster works normally, the initial basic resource of the K8S container cluster is created; judging whether the initial base resource creation of the K8S container cluster is completed; when the initial basic resource creation of the K8S container cluster is judged to be completed, controlling to automatically install the K8S container cluster and create the residual basic resources of the K8S container cluster; after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed, controlling the registration of the computing nodes of the K8S container cluster; judging whether the registration of the computing node is completed, if so, determining that the capacity expansion of the K8S container cluster is successful, otherwise, determining that the capacity expansion of the K8S container cluster is failed; and when the initial basic resource creation of the K8S container cluster fails, determining that the capacity expansion of the K8S container cluster fails, and ending, so that the automatic capacity expansion of the K8S container cluster is realized, the normal work of the K8S container cluster is not influenced, and the method is convenient and quick.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flowchart illustrating an implementation of a capacity expansion method for computing nodes based on a K8S container cluster according to the present invention;
fig. 2 is a structural block diagram of a capacity expansion system based on a K8S container cluster computing node provided in the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a flowchart of an implementation of a capacity expansion method based on a K8S container cluster computing node, which specifically includes the following steps:
in step S101, according to capacity expansion demand information of a computing node of a K8S container cluster of a user, while a K8S container cluster is working normally, an initial base resource of the K8S container cluster is created;
in step S102, determining whether the initial base resource creation of the K8S container cluster is completed, if yes, executing step S103, otherwise, executing step S07;
in step S103, when it is determined that the initial base resource creation of the K8S container cluster is completed, controlling automatically installing a K8S container cluster and creating the remaining base resources of the K8S container cluster;
in step S104, after the automatic installation of the K8S container cluster and the creation of the remaining basic resources are completed, controlling the registration of the computing nodes of the K8S container cluster;
in step S105, it is determined whether the registration of the computing node is completed, if yes, step S106 is executed, otherwise, step S107 is executed;
in step S106, when it is determined that the registration of the computing node is completed, it is determined that the capacity expansion of the K8S container cluster is successful;
in step S107, when it is determined that the registration of the computing node has failed, or when it is determined that the initial base resource creation of the K8S container cluster has failed, it is determined that the K8S container cluster has failed in the capacity expansion, and the process is ended.
In this embodiment, on the premise of not affecting the normal operation of the K8S container cluster, the capacity expansion of the container cluster computing nodes is automatically completed, which is convenient and fast, and the number of the expanded computing nodes can be performed according to the actual needs, and is not described herein again.
In the embodiment of the present invention, before executing the above step S101, the following steps need to be executed:
(1) when the creation of the K8S container cluster is completed, the capacity expansion requirement of the K8S container cluster computing node input by a user is received, wherein the action of receiving the capacity expansion requirement of the K8S container cluster computing node input by the user is realized through a middleware Cetus of a relational database, the middleware Cetus of the relational database is built in an open source cloud computing management platform project OpenStack, and the Cetus is a middleware of a relational database MySQL developed by C language, and mainly provides a comprehensive database access agent function. The Cetus connection mode is basically compatible with MySQL, an application program can access the database through Cetus almost without modification, horizontal expansion and high availability of a database layer are achieved, and OpenStack provides extensible and elastic cloud computing services for private clouds and public clouds. The project aims at providing a cloud computing management platform which is simple to implement, can be expanded in a large scale, is rich and has a unified standard;
(2) analyzing the capacity expansion requirement of the K8S container cluster computing node input by the user to obtain capacity expansion requirement information of the K8S container cluster computing node;
(3) calling an orchestration service component interface Heat according to capacity expansion demand information of a K8S container cluster computing node, wherein the orchestration service component interface Heat is used for creating initial basic resources of a K8S container cluster, and the initial basic resources of the K8S container cluster comprise a cloud host, a security group and a cloud hard disk;
wherein the step of invoking the orchestration service component interface Heat is realized by the middleware cetus of the relational database.
In the embodiment of the present invention, as in the scheme shown in fig. 1, when it is determined that the initial basic resource creation of the K8S container cluster fails, or when it is determined that the registration of the computing node fails, an orchestration service component interface Heat is invoked to automatically delete the basic resource that has already been created; the created basic resources are automatically deleted, the left-over garbage resources are not generated, and the normal work of the K8S container cluster is not influenced.
In the embodiment of the present invention, while performing capacity expansion of the compute nodes, the K8S container cluster is in a normal operating state, wherein the cluster state of the K8S container cluster may be set as follows, so as to clearly know the current state:
changing the cluster state of the K8S container cluster from "available" to "available, in capacity expansion" while performing the step of creating the initial base resources of the K8S container cluster;
when the initial basic resource creation of the K8S container cluster is judged to fail, or when the registration of the computing node is judged to fail, an orchestration service component interface Heat is called to automatically delete the created basic resource, and simultaneously, the cluster state of the K8S container cluster is changed from 'available, capacity expansion in' to 'available, capacity expansion failure';
and when the K8S container cluster is successfully expanded, changing the cluster state of the K8S container cluster from available to available during expansion, and successfully expanding the volume.
In the embodiment of the invention, the capacity expansion is carried out on the Node of the container cluster under the condition of not influencing the external service of the cluster. The cluster capacity expansion is successful, the capacity of the memory and the like is increased, and the customer can continue to install and deploy new services; when cluster expansion fails due to external factors such as a network and a host memory, Cetus and Heat related interfaces are automatically called, so that initial basic resources such as the created cloud host, the created cloud hard disk and the created security group are automatically deleted, and no residual garbage resource is generated.
Fig. 2 is a block diagram illustrating a configuration of a capacity expansion system based on a K8S container cluster computing node according to the present invention, where, for convenience of explanation, only the relevant portions of the embodiment of the present invention are shown in the diagram.
The capacity expansion system based on the K8S container cluster computing node comprises:
the initial basic resource creating module 11 is configured to create an initial basic resource of the K8S container cluster while the K8S container cluster normally works according to capacity expansion demand information of a K8S container cluster computing node of a user;
the initial basic resource creation judging module 12 is configured to judge whether the initial basic resource creation of the K8S container cluster is completed;
an installation control module 13, configured to, when determining that the initial base resource creation of the K8S container cluster is completed, control to automatically install the K8S container cluster and create the remaining base resources of the K8S container cluster;
a computing node registration module 14, configured to control registration of a computing node of the K8S container cluster after the automatic installation of the K8S container cluster and creation of the remaining basic resources are completed;
a computing node registration judgment module 15, configured to judge whether registration of the computing node is completed;
a successful expansion determining module 16, configured to determine that the K8S container cluster is successfully expanded when the computing node registration determining module determines that registration of a computing node is completed;
and the capacity expansion failure determining module 17 is configured to determine that the capacity expansion of the K8S container cluster fails and end when the initial basic resource creation of the K8S container cluster is determined to fail or when the computing node registration determining module determines that the registration of the computing node fails.
In this embodiment, the system further comprises:
the capacity expansion requirement receiving module 18 is configured to receive, when the creation of the K8S container cluster is completed, a capacity expansion requirement of the K8S container cluster computing node input by a user;
the capacity expansion demand analysis module 19 is configured to analyze the capacity expansion demand of the K8S container cluster computing node that is input by the user, and obtain capacity expansion demand information of the K8S container cluster computing node;
the first orchestration service component interface invoking module 20 is configured to invoke an orchestration service component interface Heat according to capacity expansion requirement information of a K8S container cluster computing node, where the orchestration service component interface Heat is used to create initial basic resources of a K8S container cluster, and the initial basic resources of the K8S container cluster include a cloud host, a security group, and a cloud hard disk.
In an embodiment of the present invention, the system further includes:
and the second orchestration service component interface calling module 21 is configured to call an orchestration service component interface Heat to automatically delete the created basic resource when the initial basic resource creation of the K8S container cluster is determined to fail or when the registration of the computing node is determined to fail.
In the embodiment of the present invention, as shown in fig. 2, the system further includes:
the cluster state updating module 22 is configured to, during capacity expansion of the K8S container cluster computing node, synchronously update the cluster state of the K8S container cluster;
the cluster state updating module 22 specifically includes:
a first cluster state updating module 23, configured to change the cluster state of the K8S container cluster from "available" to "available, capacity-expanded" while performing the step of creating the initial base resource of the K8S container cluster;
a second cluster state updating module 24, configured to change the cluster state of the K8S container cluster from "available," during capacity expansion to "available," and fails to capacity expansion while invoking an orchestration service component interface Heat to automatically delete a created basic resource when it is determined that the initial basic resource creation of the K8S container cluster fails or when it is determined that the registration of the compute node fails;
and a third cluster state updating module 25, configured to change the cluster state of the K8S container cluster from "available," during capacity expansion to "available," and the capacity expansion is successful, while determining that the capacity expansion of the K8S container cluster is successful.
Under the condition that the external service of the K8S container cluster is not influenced, the capacity expansion is carried out on the K8S container cluster, and the beneficial effects are achieved:
1. the method is convenient and quick, when the cluster capacity can not meet the requirement of a newly added service, a client can directly expand the capacity without influencing the original service function, and after the expansion is finished, the new service can be directly deployed;
2. the function of one-key capacity expansion is completely realized, even if a person unfamiliar with the service can successfully expand the cluster, and the time and the labor are saved;
3. the method has the advantages that the method is controllable, one or more Node nodes can be expanded according to business requirements, Node controllability is realized, and economic cost is saved;
4. under the condition that the external service of the K8S container cluster is not influenced, the K8S container cluster is expanded, and when the expansion of the cluster fails due to external factors such as network, host memory and the like, Cetus and Heat related interfaces are automatically called, successfully established basic resources are automatically deleted, and no left-over garbage resource is generated.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A capacity expansion method for computing nodes based on a K8S container cluster is characterized by comprising the following steps:
according to the capacity expansion demand information of the K8S container cluster computing node of the user, when the K8S container cluster works normally, the initial basic resource of the K8S container cluster is created;
judging whether the initial base resource creation of the K8S container cluster is completed;
when the initial basic resource creation of the K8S container cluster is judged to be completed, controlling to automatically install the K8S container cluster and create the residual basic resources of the K8S container cluster;
after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed, controlling the registration of the computing nodes of the K8S container cluster;
judging whether the registration of the computing node is completed, if so, determining that the capacity expansion of the K8S container cluster is successful, otherwise, determining that the capacity expansion of the K8S container cluster is failed;
when the initial base resource creation of the K8S container cluster is judged to fail, the K8S container cluster is determined to fail in capacity expansion, and the method is ended.
2. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 1, wherein the step of creating the initial base resource of the K8S container cluster while the K8S container cluster is working normally further comprises the following steps according to the capacity expansion requirement information of the user's K8S container cluster computing node:
when the creation of the K8S container cluster is completed, receiving the capacity expansion requirement of the K8S container cluster computing node input by a user;
analyzing the capacity expansion requirement of the K8S container cluster computing node input by the user to obtain capacity expansion requirement information of the K8S container cluster computing node;
calling an orchestration service component interface Heat according to capacity expansion demand information of the K8S container cluster computing node, wherein the orchestration service component interface Heat is used for creating initial basic resources of a K8S container cluster, and the initial basic resources of the K8S container cluster include a cloud host, a security group, and a cloud hard disk.
3. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 2, wherein the method further comprises the following steps:
when the initial basic resource creation of the K8S container cluster is judged to fail, or when the registration of the computing node is judged to fail, an orchestration service component interface (Heat) is called to automatically delete the basic resource which is already created.
4. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 3, wherein the method further comprises the following steps:
and in the process of executing capacity expansion of the K8S container cluster computing node, synchronously updating the cluster state of the K8S container cluster.
5. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 4, wherein the step of synchronously updating the cluster state of the K8S container cluster during the capacity expansion of the K8S container cluster computing node includes the following steps:
and changing the cluster state of the K8S container cluster from available to available and expanding the capacity of the K8S container cluster while the step of creating the initial base resources of the K8S container cluster is executed.
6. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 4, wherein the step of synchronously updating the cluster state of the K8S container cluster during the capacity expansion of the K8S container cluster computing node further includes the following steps:
when the initial basic resource creation of the K8S container cluster is judged to fail, or when the registration of the computing node is judged to fail, the arrangement service component interface Heat is called to automatically delete the created basic resource, and simultaneously, the cluster state of the K8S container cluster is changed from 'available, capacity expansion is in progress' to 'available, and capacity expansion fails'.
7. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 4, wherein the step of synchronously updating the cluster state of the K8S container cluster during the capacity expansion of the K8S container cluster computing node further includes the following steps:
and when the K8S container cluster is successfully expanded, changing the cluster state of the K8S container cluster from available to available during expansion, and successfully expanding the volume.
8. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 2, wherein the step of receiving the user input capacity expansion requirement of the K8S container cluster computing node when the creation of the K8S container cluster is completed includes the following steps:
when the creation of the K8S container cluster is completed, the capacity expansion requirement of the K8S container cluster computing node input by a user is received through the middleware cetus of the relational database.
9. The capacity expansion method based on the K8S container cluster computing node as claimed in claim 8, wherein the step of invoking an orchestration service component interface Heat according to the capacity expansion requirement information of the K8S container cluster computing node specifically includes the steps of:
and calling an orchestration service component interface Heat through the middleware cetus of the relational database according to the capacity expansion demand information of the K8S container cluster computing node.
10. The capacity expansion system based on the K8S container cluster computing node based on the capacity expansion method based on the K8S container cluster computing node of claim 1, wherein the system comprises:
the initial basic resource creating module is used for creating initial basic resources of the K8S container cluster while the K8S container cluster works normally according to the capacity expansion demand information of the K8S container cluster computing node of the user;
the initial basic resource creation judging module is used for judging whether the initial basic resource creation of the K8S container cluster is completed or not;
the installation control module is used for controlling the automatic installation of the K8S container cluster and the creation of the residual basic resources of the K8S container cluster when the initial basic resource creation of the K8S container cluster is judged to be completed;
the computing node registration module is used for controlling the registration of the computing nodes of the K8S container cluster after the automatic installation of the K8S container cluster and the creation of the residual basic resources are completed;
the computing node registration judging module is used for judging whether the registration of the computing node is finished or not;
a successful expansion determining module, configured to determine that the K8S container cluster is successfully expanded when the computing node registration determining module determines that registration of the computing node is completed;
and the capacity expansion failure determining module is used for determining that the capacity expansion of the K8S container cluster fails when the initial basic resource creation of the K8S container cluster is judged to fail or the registration of the computing node is judged to fail by the computing node registration judging module, and ending.
CN202111060558.5A 2021-09-10 2021-09-10 K8S container cluster-based computing node capacity expansion method and system Pending CN113835834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111060558.5A CN113835834A (en) 2021-09-10 2021-09-10 K8S container cluster-based computing node capacity expansion method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111060558.5A CN113835834A (en) 2021-09-10 2021-09-10 K8S container cluster-based computing node capacity expansion method and system

Publications (1)

Publication Number Publication Date
CN113835834A true CN113835834A (en) 2021-12-24

Family

ID=78958832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111060558.5A Pending CN113835834A (en) 2021-09-10 2021-09-10 K8S container cluster-based computing node capacity expansion method and system

Country Status (1)

Country Link
CN (1) CN113835834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242877A (en) * 2022-09-21 2022-10-25 之江实验室 Spark collaborative calculation and operation method and device for multiple K8s clusters
US11954525B1 (en) 2022-09-21 2024-04-09 Zhejiang Lab Method and apparatus of executing collaborative job for spark faced to multiple K8s clusters

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242877A (en) * 2022-09-21 2022-10-25 之江实验室 Spark collaborative calculation and operation method and device for multiple K8s clusters
CN115242877B (en) * 2022-09-21 2023-01-24 之江实验室 Spark collaborative computing and operating method and device for multiple K8s clusters
WO2024060596A1 (en) * 2022-09-21 2024-03-28 之江实验室 Multi-k8s cluster-oriented spark collaborative operating method and apparatus
US11954525B1 (en) 2022-09-21 2024-04-09 Zhejiang Lab Method and apparatus of executing collaborative job for spark faced to multiple K8s clusters

Similar Documents

Publication Publication Date Title
CN111522628B (en) Kubernetes cluster building deployment method, framework and storage medium based on OpenStack
CN111290834B (en) Method, device and equipment for realizing high service availability based on cloud management platform
CN109831500B (en) Synchronization method for configuration file and Pod in Kubernetes cluster
CN111385114B (en) VNF service instantiation method and device
CN112667362B (en) Method and system for deploying Kubernetes virtual machine cluster on Kubernetes
CN107005426B (en) Method and device for managing life cycle of virtual network function
CN111641515B (en) VNF life cycle management method and device
CN112269640B (en) Method for realizing life cycle management of container cloud component
CN113835834A (en) K8S container cluster-based computing node capacity expansion method and system
CN104935672A (en) High available realizing method and equipment of load balancing service
CN105630589A (en) Distributed process scheduling system and process scheduling and execution method
CN112437129B (en) Cluster management method and cluster management device
CN113626280B (en) Cluster state control method and device, electronic equipment and readable storage medium
US20230342183A1 (en) Management method and apparatus for container cluster
CN110764918A (en) Method for managing main nodes in container cluster
CN111984274A (en) Method and device for one-key automatic deployment of ETCD (electronic toll collection) cluster
CN110932914A (en) Deployment method, deployment device, hybrid cloud system architecture and computer storage medium
CN113037881A (en) Cloud native service uninterrupted IP replacement method based on Kubernetes
CN113515316A (en) Novel edge cloud operating system
CN113672336A (en) K8S container cluster deployment method, device, equipment and readable storage medium
CN111917588A (en) Edge device management method, device, edge gateway device and storage medium
CN114615268B (en) Service network, monitoring node, container node and equipment based on Kubernetes cluster
CN114996352B (en) Database management system and method
CN116010111A (en) Cross-cluster resource scheduling method, system and terminal equipment
CN115987872A (en) Cloud system based on resource routing

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