Method for realizing flow control of Pod network in Kubernetes

A network flow and network flow technology, applied in the field of Pod network flow control, can solve the problems of weak isolation characteristics of isolation mechanism, Pod unable to preempt network bandwidth, unable to meet daily resource constraints, etc., to achieve the effect of increasing isolation characteristics

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

AI Technical Summary

Problems solved by technology

[0005] Aiming at the deficiencies of the prior art, the present invention provides a method for implementing Pod network flow control in Kubernetes, which solves the weak isolation feature of the isolation mechanism, making it unable to meet the daily resource limitation scenario, wherein the Pod network bandwidth T

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
  • Method for realizing flow control of Pod network in Kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Step 1: Based on the Pod network flow control management function implemented by the Kubernetes cluster platform, generate network flow control configuration, network flow control resource creation, network flow control resource recycling, and network flow control resource modification functions. The flow control of the container network includes: using Linux The container network implemented by Macvlan technology and the container network implemented by using Veth Pair, the bottom layer of the container cloud flow control management module uses Linux TC technology;

[0032] Step 2: Start the "flow control server" program, connect to the Kubernetes cluster, monitor the change events of the Deployment and Pod resources in the Kubernetes cluster in real time according to the Watch API mechanism of Kubernetes, and store the configuration information of the Deployment and Pod resources locally In the memory cache, it is connected to the Mysql database cluster at the same tim...

Embodiment 2

[0035] Step 1: Based on the Pod network flow control management function implemented by the Kubernetes cluster platform, generate network flow control configuration, network flow control resource creation, network flow control resource recycling, and network flow control resource modification functions. The flow control of the container network includes: using Linux The container network implemented by Macvlan technology and the container network implemented by using Veth Pair, the bottom layer of the container cloud flow control management module uses Linux TC technology;

[0036] Step 2: Start the "flow control server" program, connect to the Kubernetes cluster, monitor the change events of the Deployment and Pod resources in the Kubernetes cluster in real time according to the Watch API mechanism of Kubernetes, and store the configuration information of the Deployment and Pod resources locally In the memory cache, it is connected to the Mysql database cluster at the same tim...

Embodiment 3

[0041] Step 1: Based on the Pod network flow control management function implemented by the Kubernetes cluster platform, generate network flow control configuration, network flow control resource creation, network flow control resource recycling, and network flow control resource modification functions. The flow control of the container network includes: using Linux The container network implemented by Macvlan technology and the container network implemented by using Veth Pair, the bottom layer of the container cloud flow control management module uses Linux TC technology;

[0042] Step 2: Start the "flow control server" program, connect to the Kubernetes cluster, monitor the change events of the Deployment and Pod resources in the Kubernetes cluster in real time according to the Watch API mechanism of Kubernetes, and store the configuration information of the Deployment and Pod resources locally In the memory cache, it is connected to the Mysql database cluster at the same tim...

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 realizing flow control of a Pod network in Kubernetes. The method comprises the following steps of: 1, realizing a Pod network flow control management function based on a Kubernetes cluster platform; step 2, starting a'flow control server side 'program; the method comprises the following steps of: connecting to a Kubernetes cluster; 3, deploying Deployment resources through a container cloud platform; 4, deploying Deployment resources through a container cloud platform; and 5, configuring a network flow control rule for the Pod on a host node operated by the Pod, namely judging the type of a container network used by the Pod, and then creating a flow control rule for a network interface in the Pod and creating IFB equipment, and relates to the technicalfield of Pod network flow control. According to the invention, a container cloud network flow control management module is used; according to the invention, a Pod network flow control function can berealized in a Kubernetes cluster; the module can issue corresponding network flow control configurations for different Pod according to flow control configuration parameters specified by a user, supports the control of incoming flow and outgoing flow, supports the flow control of various types of container networks at the same time, is more in types, and improves the isolation characteristics ofan isolation mechanism.

Description

technical field [0001] The invention relates to the technical field of Pod network flow control, in particular to a method for implementing Pod network flow control in Kubernetes. Background technique [0002] Kubernetes is a system for running and coordinating containerized applications on a group of hosts, providing a mechanism for application deployment, planning, update and maintenance. The application runs on the kubernetes cluster, realizes the expansion and shrinkage of the service, performs rolling updates, and schedules traffic between different versions of the application to test functions or roll back problematic deployments. The various functions of Kubernetes to implement management services are It is realized by defining various types of resources. Kubernetes is the current mainstream container cluster management system. It realizes the allocation of resources to related Pods at the cloud platform level. Pod is the smallest unit created or deployed by Kubernete...

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
IPC IPC(8): H04L12/813H04L29/08H04L47/20
CPCH04L47/20H04L67/1044
Inventor 王伟华梅进
Owner 广西梯度科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products