Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of setting multiple IPs for pods in kubernetes

A network configuration and configuration file technology, applied in the field of cloud computing, can solve problems such as the inability to meet the requirements of application deployment

Active Publication Date: 2022-05-10
广西梯度科技股份有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally, when an application is deployed on a physical machine or a virtual machine, in order to meet the high reliability, high availability, and high-quality requirements of network communication, multiple communication network cards are configured in the physical machine or virtual machine where the application is deployed, and Different network traffic is required to go through different communication network cards, and the native Kubernetes network does not configure multiple communication network cards for Pods, which cannot meet the requirements of application deployment in a multi-network and multi-network card environment. defect, needs improvement

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method of setting multiple IPs for pods in kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] see figure 1 , the present invention provides a technical solution: a method for setting multiple IPs in Pod in Kubernetes, which is composed of an independent network management module, and the independent network management module includes a network server and a network plug-in, including the following steps:

[0029] S1. Start the network server program, monitor the changes of Pod resources in the cluster from the K8s master node, and take out the Po...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method for setting multiple IPs in a Pod in Kubernetes. The invention relates to the technical field of cloud computing, and is composed of an independent network management module. The network server and the network plug-in use a RESTful interface to communicate. When creating a Pod resource, call the network plug-in to configure the multi-IP network configuration for the Pod according to the CNI specification and configuration. The network plug-in parses the Pod configuration passed in by Kubelet, and then the network plug-in calls the Add interface of the network server to obtain the multi-IP network configuration defined for the Pod. , when the network plug-in obtains the multi-IP network configuration of the Pod, it configures the specified IP network configuration for the Pod one by one by looping the network configuration list, and the multiple IPs configured for the Pod are respectively associated with different network cards on the node where the Pod is running , in order to realize the requirement that different network traffic generated in the Pod go through different network interfaces, and then achieve the effect of high availability of the Pod network, traffic sharing, and compatible application multi-network deployment.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method for setting multiple IPs for Pods in Kubernetes. Background technique [0002] Kubernetes is a container orchestration management system. By using Kubernetes technology, it can simplify the application deployment process, reduce the time spent on service development and launch, and improve operation and maintenance efficiency. Using the Kubernetes container orchestration service, container-based application deployment, maintenance, and rolling upgrade can be completed; traffic load balancing, application automatic discovery; cross-node, cross-region Pod scheduling; multi-instance automatic expansion and contraction of services; support for declarative configuration files way to manage the entire life cycle of the container and other functions. Since Kubernetes is a general-purpose underlying container orchestration management platform, the Pod instances created ...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L41/0803H04L67/10H04L67/30
CPCH04L41/0803H04L67/10H04L67/30
Inventor 王伟华梅进
Owner 广西梯度科技股份有限公司