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

A way for kubernetes to expose pod services to the outside world

A service mode and public network technology, which is applied in the direction of instruments, calculations, and electrical digital data processing, etc., can solve the problems of waste of port resources, low link forwarding efficiency, and high development costs, and achieve no port number restrictions and no transmission protocols The effect of restriction and high forwarding efficiency

Active Publication Date: 2022-03-04
深圳软通动力信息技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. It must be more than 30,000 ports, which does not meet the requirements of any port exposure;
[0007] 2. NodePort will expose the same port on all nodes, resulting in waste of port resources
[0009] 1. The development cost is high, and the relevant interfaces of the kubernetes load balancer need to be implemented;
[0010] 2. The link forwarding efficiency is low, and it needs to go through multiple links of Loadbalancer—>NodePort—>Service—>Pod;
[0011] 3. High cost of troubleshooting and repair

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 way for kubernetes to expose pod services to the outside world
  • A way for kubernetes to expose pod services to the outside world
  • A way for kubernetes to expose pod services to the outside world

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be described in detail below in conjunction with the embodiments. It should be noted that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0037] The technical terms involved in the present invention are briefly described below, so that relevant personnel can better understand this solution.

[0038] The kubernetes API is an important part of the cluster system. The data of various resources (objects) in Kubernetes is submitted to the back-end persistent storage (etcd) through the API interface, and the components in the Kubernetes cluster are connected through the API interface Achieve decoupling.

[0039] Pod is the smallest scheduling unit in Kubernetes. Container is a new way of application deployment, which is fast and lightweight. A...

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 kubernetes externally exposed Pod service method, including a kubernetes cluster, a service exposure controller, an elastic IP manager, and a Pod IP drift monitor, including the following steps: calling the kubernetes API to create a Pod; The public network IP that the operator has purchased, and records the application relationship between the public network IP and the tenant, and the binding relationship between the public network IP and the cluster nodes on the kubernetes cluster; the service exposure controller selects the public network IP address that needs to be bound; the service The exposed controller queries the cluster node where the Pod is located and logs in remotely, binds the public network IP to the network card interface; implements the packet forwarding from the public network IP to the Pod IP by executing the iptables command; the Pod IP drift monitor monitors the Pod IP in the kubernetes cluster in real time change event.

Description

technical field [0001] The present invention relates to the technical field of computer software technology application, specifically to the technical field of kubernetes, and in particular to a pod service mode exposed by kubernetes to the outside. Background technique [0002] With the maturity of container technology, container orchestration tools have also emerged. Among them, Google's open source kubernetes container orchestration tool is currently in the mainstream. Kubernetes can realize automatic deployment, automatic expansion and contraction, maintenance and other functions of container clusters. [0003] The smallest resource scheduling unit for running containers on kuberetes is the Pod, but if the Pod runs on a private network, external public network users cannot access it; now it is necessary to allow public network users to access the services of each Pod, and support Any port, any 4-layer or 7-layer protocol (such as tcp / http), the current solution of the k...

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): H04L61/2514H04L61/5053G06F9/455
CPCH04L61/2514G06F9/45558G06F2009/45595G06F2009/4557H04L61/5053
Inventor 蔡锡生王玉虎李逸锋王一钧吴江法
Owner 深圳软通动力信息技术有限公司