Ip address allocation method for adding new node to container cluster service layer
A technology of ip address and container cluster, which is applied in the field of container cloud, can solve problems such as uncontrollable, and achieve the effect of efficient ip address allocation management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] see figure 1 , which is the overall architecture diagram of the container cluster platform. In this embodiment, the underlying servers of the container cluster are all created by openstack to ensure that the clusters are all in the same private network. Multiple created servers build a kubernets container cluster and deploy it in the kubernetes cluster The management platform server and the front-end program of the management platform. When the server program is initialized, it reads the configuration information of each node in the cluster and stores the configuration information in the program database.
[0033] In actual application, the flow chart of adding nodes is shown in figure 2 , where, when the user chooses to add a node on the front-end page, first select the cluster to which the node needs to be added, and then fill in the newly added node configuration information. After the front-end request is sent to the management platform server program, the managem...
Embodiment 2
[0036] In this embodiment, the IP address allocation method for adding a new node in the container cluster business layer specifically includes the following steps:
[0037] 1. The user selects the cluster that needs to add nodes on the front-end page of the platform, and fills in the resource size of the new node, such as: 8-core cpu, 16G memory and other configuration information.
[0038] 2. The front-end program sends a request to the management platform server program.
[0039] 3. The management platform server program queries the database to obtain cluster information.
[0040] 4. The management platform server queries the node information of the cluster in the database according to the cluster information, including but not limited to the network area uuid, subnet mask, and calculates the number and length of the first continuous ip address of the running node, which is named partial Offset (offset), for example: the ip addresses of nodes in a cluster are 192.168.1.1, ...
Embodiment 3
[0049] In this embodiment, the IP address allocation method for adding a new node in the container cluster business layer specifically includes the following steps:
[0050]Step 1: Use openstack to build a cloud computing platform and deploy the openstack server.
[0051] Step 2: Create three servers with ip addresses of 192.168.1.1, 192.168.1.2, and 192.168.1.3, deploy the kubernetes container cluster, and deploy the front end of the cluster management platform, the management platform server, which is the business layer and database.
[0052] Step 3: The user selects the cluster that needs to add nodes on the front-end page of the platform, and fills in the resource size of the new node, such as: 8-core cpu, 16G memory and other configuration information.
[0053] Step 4: The front-end program sends a request to the server program.
[0054] Step 5: The management platform server program queries the database to obtain cluster information.
[0055] Step 6: The management pla...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com